Commit 104b83a6 authored by Craig Russell's avatar Craig Russell
Browse files

Git cloning repo into binder for custom templates

parent 0f700d80
......@@ -28,7 +28,7 @@ config:
# # Good until this:
cors: &cors
allowOrigin: '*'
jupyterhub:
custom:
cors: *cors
......@@ -107,4 +107,27 @@ ingress:
tls:
- secretName: binder-bioimagearchive-org-cert
hosts:
- binder.bioimagearchive.org
\ No newline at end of file
- binder.bioimagearchive.org
initContainers:
- name: git-clone-templates
image: alpine/git
args:
- clone
- --single-branch
- --branch=master
- --depth=1
- --
- https://github.com/bioimagearchive/k8s-jupyterhub
- /etc/binderhub/custom
securityContext:
runAsUser: 0
volumeMounts:
- name: custom-templates
mountPath: /etc/binderhub/custom
extraVolumes:
- name: custom-templates
emptyDir: {}
extraVolumeMounts:
- name: custom-templates
mountPath: /etc/binderhub/custom
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment