From cf4bd4e440c9191f408fdd1af26adfb5a3f01a8d Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Mon, 5 Feb 2024 13:38:15 +0100 Subject: [PATCH] Custom env for all customers --- jupyter/overlays/test/hig/kustomization.yaml | 1 + jupyter/overlays/test/hig/values/values.yaml | 29 +++++++++++++++++++ jupyter/overlays/test/su/kustomization.yaml | 1 + jupyter/overlays/test/su/values/values.yaml | 29 +++++++++++++++++++ .../overlays/test/sunet/kustomization.yaml | 1 + .../overlays/test/sunet/values/values.yaml | 29 +++++++++++++++++++ jupyter/overlays/test/uu/kustomization.yaml | 1 + jupyter/overlays/test/uu/values/values.yaml | 29 +++++++++++++++++++ 8 files changed, 120 insertions(+) create mode 100644 jupyter/overlays/test/hig/values/values.yaml create mode 100644 jupyter/overlays/test/su/values/values.yaml create mode 100644 jupyter/overlays/test/sunet/values/values.yaml create mode 100644 jupyter/overlays/test/uu/values/values.yaml diff --git a/jupyter/overlays/test/hig/kustomization.yaml b/jupyter/overlays/test/hig/kustomization.yaml index f6cfc47..8f928b1 100644 --- a/jupyter/overlays/test/hig/kustomization.yaml +++ b/jupyter/overlays/test/hig/kustomization.yaml @@ -5,3 +5,4 @@ resources: patches: - path: jupyterhub-ingress.yml - path: jupyterhub-service.yml +- path: values/values.yaml diff --git a/jupyter/overlays/test/hig/values/values.yaml b/jupyter/overlays/test/hig/values/values.yaml new file mode 100644 index 0000000..9a1705d --- /dev/null +++ b/jupyter/overlays/test/hig/values/values.yaml @@ -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 diff --git a/jupyter/overlays/test/su/kustomization.yaml b/jupyter/overlays/test/su/kustomization.yaml index f6cfc47..8f928b1 100644 --- a/jupyter/overlays/test/su/kustomization.yaml +++ b/jupyter/overlays/test/su/kustomization.yaml @@ -5,3 +5,4 @@ resources: patches: - path: jupyterhub-ingress.yml - path: jupyterhub-service.yml +- path: values/values.yaml diff --git a/jupyter/overlays/test/su/values/values.yaml b/jupyter/overlays/test/su/values/values.yaml new file mode 100644 index 0000000..c89764e --- /dev/null +++ b/jupyter/overlays/test/su/values/values.yaml @@ -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 diff --git a/jupyter/overlays/test/sunet/kustomization.yaml b/jupyter/overlays/test/sunet/kustomization.yaml index f6cfc47..8f928b1 100644 --- a/jupyter/overlays/test/sunet/kustomization.yaml +++ b/jupyter/overlays/test/sunet/kustomization.yaml @@ -5,3 +5,4 @@ resources: patches: - path: jupyterhub-ingress.yml - path: jupyterhub-service.yml +- path: values/values.yaml diff --git a/jupyter/overlays/test/sunet/values/values.yaml b/jupyter/overlays/test/sunet/values/values.yaml new file mode 100644 index 0000000..d8dee16 --- /dev/null +++ b/jupyter/overlays/test/sunet/values/values.yaml @@ -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 diff --git a/jupyter/overlays/test/uu/kustomization.yaml b/jupyter/overlays/test/uu/kustomization.yaml index f6cfc47..8f928b1 100644 --- a/jupyter/overlays/test/uu/kustomization.yaml +++ b/jupyter/overlays/test/uu/kustomization.yaml @@ -5,3 +5,4 @@ resources: patches: - path: jupyterhub-ingress.yml - path: jupyterhub-service.yml +- path: values/values.yaml diff --git a/jupyter/overlays/test/uu/values/values.yaml b/jupyter/overlays/test/uu/values/values.yaml new file mode 100644 index 0000000..172cd61 --- /dev/null +++ b/jupyter/overlays/test/uu/values/values.yaml @@ -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