Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-web
ensembl-k8s-manifests
Commits
a47d290a
Commit
a47d290a
authored
Jul 13, 2021
by
Kamal Dodiya
Browse files
k8s manifest for copying static assets to PVC
parent
06108000
Pipeline
#174881
failed with stage
in 6 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
0 deletions
+50
-0
static_assets_copy_job.yaml
static_assets_copy_job.yaml
+35
-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.
static_assets_copy_job.yaml
0 → 100644
View file @
a47d290a
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>
]
# 498390, 497091
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 @
a47d290a
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 @
a47d290a
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