diff --git a/values.template.yaml b/values.template.yaml index 896b342f186b8bbaf6ec0925d31e21e99cb1e751..a8bc6defe2f775d7f21e258cb84f63bab61aa655 100644 --- a/values.template.yaml +++ b/values.template.yaml @@ -30,6 +30,31 @@ hub: - 003087200@csusb.edu - 000030081@csusb.edu - dmishin@ucsd.edu + initContainers: + - name: git-clone-templates + image: alpine/git + args: + - clone + - --single-branch + - --branch=main + - --depth=1 + - -- + - https://gitlab.nrp-nautilus.io/youngsu_kim/csusb-jupyterhub-custom-templates.git + - /etc/jupyterhub/custom + securityContext: + runAsUser: 0 + volumeMounts: + - name: custom-templates + mountPath: /etc/jupyterhub/custom + extraVolumes: + - name: custom-templates + emptyDir: {} + extraVolumeMounts: + - name: custom-templates + mountPath: /etc/jupyterhub/custom + extraConfig: + templates: | + c.JupyterHub.template_paths = ['/etc/jupyterhub/custom'] service: type: ClusterIP annotations: {}