Skip to content

Commit 417afaa

Browse files
authored
Merge pull request #7140 from yuvipanda/earthscope-init
earthscope: Setup initcontainer on staging
2 parents bfa2651 + 48512bd commit 417afaa

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

config/clusters/earthscope/staging.values.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,21 @@ basehub:
3030
2i2c/hub-name: staging
3131
extraEnv:
3232
SCRATCH_BUCKET: s3://earthscope-scratch-staging/$(JUPYTERHUB_USER)
33+
initContainers:
34+
- name: jupyterhub-gitpuller-init
35+
image: public.ecr.aws/nasa-veda/jupyterhub-gitpuller-init:97eb45f9d23b128aff810e45911857d5cffd05c2
36+
env:
37+
- name: TARGET_PATH
38+
value: geolab-docs
39+
- name: SOURCE_REPO
40+
value: https://github.com/EarthScope/GeoLab
41+
volumeMounts:
42+
- name: home
43+
mountPath: /home/jovyan
44+
subPath: '{escaped_username}'
45+
securityContext:
46+
runAsUser: 1000
47+
runAsGroup: 1000
3348
dask-gateway:
3449
gateway:
3550
backend:

0 commit comments

Comments
 (0)