From 2d93d112b27fc9e0b1de23934c0178dd7fd0bed7 Mon Sep 17 00:00:00 2001 From: James Munroe Date: Fri, 6 Dec 2024 19:15:52 -0500 Subject: [PATCH] add an ephemeral dubois hub --- config/clusters/dubois/cluster.yaml | 9 ++++++- config/clusters/dubois/ephemeral.values.yaml | 28 ++++++++++++++++++++ config/clusters/dubois/prod.values.yaml | 6 ++--- 3 files changed, 39 insertions(+), 4 deletions(-) create mode 100644 config/clusters/dubois/ephemeral.values.yaml diff --git a/config/clusters/dubois/cluster.yaml b/config/clusters/dubois/cluster.yaml index 558f8e956d..8ac2488658 100644 --- a/config/clusters/dubois/cluster.yaml +++ b/config/clusters/dubois/cluster.yaml @@ -33,9 +33,16 @@ hubs: - enc-staging.secret.values.yaml - name: prod display_name: Dubois - domain: dubois.2i2c.cloud + domain: prod.dubois.2i2c.cloud helm_chart: basehub helm_chart_values_files: - common.values.yaml - prod.values.yaml - enc-prod.secret.values.yaml + - name: ephemeral + display_name: Dubois + domain: dubois.2i2c.cloud + helm_chart: basehub + helm_chart_values_files: + - common.values.yaml + - ephemeral.values.yaml diff --git a/config/clusters/dubois/ephemeral.values.yaml b/config/clusters/dubois/ephemeral.values.yaml new file mode 100644 index 0000000000..ff19de0f7c --- /dev/null +++ b/config/clusters/dubois/ephemeral.values.yaml @@ -0,0 +1,28 @@ +# nfs functionality explicitly disabled in case a common.values.yaml +# file is used to enable it for all hubs in the cluster +nfs: + enabled: false + pv: + enabled: false + +jupyterhub: + ingress: + hosts: [dubois.2i2c.cloud] + tls: + - hosts: [dubois.2i2c.cloud] + secretName: https-auto-tls + hub: + config: + JupyterHub: + authenticator_class: tmp + custom: + singleuserAdmin: + # Turn off trying to mount shared-readwrite folder for admins + extraVolumeMounts: [] + singleuser: + initContainers: [] + storage: + # No persistent storage should be kept to reduce any potential data + # retention & privacy issues. + type: none + extraVolumeMounts: [] diff --git a/config/clusters/dubois/prod.values.yaml b/config/clusters/dubois/prod.values.yaml index 1a469f4f80..c95284cee0 100644 --- a/config/clusters/dubois/prod.values.yaml +++ b/config/clusters/dubois/prod.values.yaml @@ -1,10 +1,10 @@ jupyterhub: ingress: - hosts: [dubois.2i2c.cloud] + hosts: [prod.dubois.2i2c.cloud] tls: - - hosts: [dubois.2i2c.cloud] + - hosts: [prod.dubois.2i2c.cloud] secretName: https-auto-tls hub: config: GitHubOAuthenticator: - oauth_callback_url: https://dubois.2i2c.cloud/hub/oauth_callback + oauth_callback_url: https://prod.dubois.2i2c.cloud/hub/oauth_callback