Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-web
ensembl-k8s-manifests
Commits
46ce5401
Commit
46ce5401
authored
Jul 14, 2021
by
Kamal Dodiya
Browse files
Add static asset k8s manifest
parent
acf39143
Pipeline
#175454
failed with stage
in 8 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
54 additions
and
0 deletions
+54
-0
kustomization.yaml
kustomization.yaml
+5
-0
static_assets_copy_job.yaml
static_assets_copy_job.yaml
+34
-0
static_assets_copy_job_configmap.yaml
static_assets_copy_job_configmap.yaml
+9
-0
static_assets_download_secret.yaml
static_assets_download_secret.yaml
+6
-0
No files found.
kustomization.yaml
0 → 100644
View file @
46ce5401
apiVersion
:
kustomize.config.k8s.io/v1beta1
kind
:
Kustomization
namespace
:
ensembl-dev
resources
:
-
static_assets_copy_job.yaml
static_assets_copy_job.yaml
0 → 100644
View file @
46ce5401
apiVersion
:
batch/v1
kind
:
Job
metadata
:
name
:
static-asset-copy
spec
:
backoffLimit
:
2
activeDeadlineSeconds
:
100
ttlSecondsAfterFinished
:
5
template
:
spec
:
imagePullSecrets
:
-
name
:
ensemblweb-pull-secret
containers
:
-
name
:
static-asset-copy
image
:
dockerhub.ebi.ac.uk/ensembl-web/deploy-tools:0.5
tty
:
true
command
:
[
"
/usr/bin/download_artifacts.sh"
]
args
:
[
"
<PROJECT_ID>"
,
"
<JOB_ID>"
]
ports
:
-
containerPort
:
8000
imagePullPolicy
:
Always
envFrom
:
-
configMapRef
:
name
:
static-assets-copy-configmap
-
secretRef
:
name
:
artifact-download-token
volumeMounts
:
-
mountPath
:
"
/usr/data"
name
:
static-asset-storage
restartPolicy
:
Never
volumes
:
-
name
:
static-asset-storage
persistentVolumeClaim
:
claimName
:
ensembl-client-static-assets-pvc
static_assets_copy_job_configmap.yaml
0 → 100644
View file @
46ce5401
apiVersion
:
v1
data
:
HTTP_PROXY
:
http://hx-wwwcache.ebi.ac.uk:3128
HTTPS_PROXY
:
http://hx-wwwcache.ebi.ac.uk:3128
http_proxy
:
http://hx-wwwcache.ebi.ac.uk:3128
https_proxy
:
http://hx-wwwcache.ebi.ac.uk:3128
kind
:
ConfigMap
metadata
:
name
:
static-assets-copy-configmap
static_assets_download_secret.yaml
0 → 100644
View file @
46ce5401
apiVersion
:
v1
kind
:
Secret
metadata
:
name
:
artifact-download-token
data
:
token
:
<TOKEN_TO_DOWNLOAD_ARTIFACT>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment