Custom env for all customers

This commit is contained in:
Micke Nordin 2024-02-05 13:38:15 +01:00
parent 8c101acfbe
commit cf4bd4e440
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257
8 changed files with 120 additions and 0 deletions

View file

@ -5,3 +5,4 @@ resources:
patches: patches:
- path: jupyterhub-ingress.yml - path: jupyterhub-ingress.yml
- path: jupyterhub-service.yml - path: jupyterhub-service.yml
- path: values/values.yaml

View file

@ -0,0 +1,29 @@
debug:
enabled: true
hub:
extraEnv:
NEXTCLOUD_DEBUG_OAUTH: "no"
NEXTCLOUD_HOST: hig.drive.test.sunet.se
JUPYTER_HOST: hig-jupyter.drive.test.sunet.se
JUPYTERHUB_API_KEY:
valueFrom:
secretKeyRef:
name: jupyterhub-secrets
key: api-key
JUPYTERHUB_CRYPT_KEY:
valueFrom:
secretKeyRef:
name: jupyterhub-secrets
key: crypt-key
NEXTCLOUD_CLIENT_ID:
valueFrom:
secretKeyRef:
name: nextcloud-oauth-secrets
key: client-id
NEXTCLOUD_CLIENT_SECRET:
valueFrom:
secretKeyRef:
name: nextcloud-oauth-secrets
key: client-secret
networkPolicy:
enabled: false

View file

@ -5,3 +5,4 @@ resources:
patches: patches:
- path: jupyterhub-ingress.yml - path: jupyterhub-ingress.yml
- path: jupyterhub-service.yml - path: jupyterhub-service.yml
- path: values/values.yaml

View file

@ -0,0 +1,29 @@
debug:
enabled: true
hub:
extraEnv:
NEXTCLOUD_DEBUG_OAUTH: "no"
NEXTCLOUD_HOST: su.drive.test.sunet.se
JUPYTER_HOST: su-jupyter.drive.test.sunet.se
JUPYTERHUB_API_KEY:
valueFrom:
secretKeyRef:
name: jupyterhub-secrets
key: api-key
JUPYTERHUB_CRYPT_KEY:
valueFrom:
secretKeyRef:
name: jupyterhub-secrets
key: crypt-key
NEXTCLOUD_CLIENT_ID:
valueFrom:
secretKeyRef:
name: nextcloud-oauth-secrets
key: client-id
NEXTCLOUD_CLIENT_SECRET:
valueFrom:
secretKeyRef:
name: nextcloud-oauth-secrets
key: client-secret
networkPolicy:
enabled: false

View file

@ -5,3 +5,4 @@ resources:
patches: patches:
- path: jupyterhub-ingress.yml - path: jupyterhub-ingress.yml
- path: jupyterhub-service.yml - path: jupyterhub-service.yml
- path: values/values.yaml

View file

@ -0,0 +1,29 @@
debug:
enabled: true
hub:
extraEnv:
NEXTCLOUD_DEBUG_OAUTH: "no"
NEXTCLOUD_HOST: sunet.drive.test.sunet.se
JUPYTER_HOST: sunet-jupyter.drive.test.sunet.se
JUPYTERHUB_API_KEY:
valueFrom:
secretKeyRef:
name: jupyterhub-secrets
key: api-key
JUPYTERHUB_CRYPT_KEY:
valueFrom:
secretKeyRef:
name: jupyterhub-secrets
key: crypt-key
NEXTCLOUD_CLIENT_ID:
valueFrom:
secretKeyRef:
name: nextcloud-oauth-secrets
key: client-id
NEXTCLOUD_CLIENT_SECRET:
valueFrom:
secretKeyRef:
name: nextcloud-oauth-secrets
key: client-secret
networkPolicy:
enabled: false

View file

@ -5,3 +5,4 @@ resources:
patches: patches:
- path: jupyterhub-ingress.yml - path: jupyterhub-ingress.yml
- path: jupyterhub-service.yml - path: jupyterhub-service.yml
- path: values/values.yaml

View file

@ -0,0 +1,29 @@
debug:
enabled: true
hub:
extraEnv:
NEXTCLOUD_DEBUG_OAUTH: "no"
NEXTCLOUD_HOST: uu.drive.test.sunet.se
JUPYTER_HOST: uu-jupyter.drive.test.sunet.se
JUPYTERHUB_API_KEY:
valueFrom:
secretKeyRef:
name: jupyterhub-secrets
key: api-key
JUPYTERHUB_CRYPT_KEY:
valueFrom:
secretKeyRef:
name: jupyterhub-secrets
key: crypt-key
NEXTCLOUD_CLIENT_ID:
valueFrom:
secretKeyRef:
name: nextcloud-oauth-secrets
key: client-id
NEXTCLOUD_CLIENT_SECRET:
valueFrom:
secretKeyRef:
name: nextcloud-oauth-secrets
key: client-secret
networkPolicy:
enabled: false