From 56b0d2a45bb595f6ae13b420a3b681203ad6aa86 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Tue, 2 Apr 2024 14:05:32 -0700 Subject: [PATCH 1/2] DANDI & BICAN: Default interface to lab Earlier was just defaulting the first profile item to lab. I'll add this to the spec on the image. Ref https://github.com/2i2c-org/infrastructure/issues/3827 Ref https://github.com/2i2c-org/infrastructure/issues/3824 --- config/clusters/bican/common.values.yaml | 2 +- config/clusters/dandi/common.values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/clusters/bican/common.values.yaml b/config/clusters/bican/common.values.yaml index ea9ce15624..f76bd54b03 100644 --- a/config/clusters/bican/common.values.yaml +++ b/config/clusters/bican/common.values.yaml @@ -48,6 +48,7 @@ jupyterhub: - satra - djarecka singleuser: + defaultUrl: /lab profileList: - display_name: "DANDI (CPU)" description: "Default DANDI image with JupyterLab" @@ -55,7 +56,6 @@ jupyterhub: kubespawner_override: image: dandiarchive/dandihub:latest image_pull_policy: Always - default_url: /lab profile_options: &profile_options_cpu requests: display_name: Resource Allocation diff --git a/config/clusters/dandi/common.values.yaml b/config/clusters/dandi/common.values.yaml index 432fc12b00..1a637a2adf 100644 --- a/config/clusters/dandi/common.values.yaml +++ b/config/clusters/dandi/common.values.yaml @@ -50,6 +50,7 @@ jupyterhub: userScheduler: enabled: true singleuser: + defaultUrl: /lab profileList: - display_name: "DANDI (CPU)" description: "Default DANDI image with JupyterLab" @@ -57,7 +58,6 @@ jupyterhub: kubespawner_override: image: dandiarchive/dandihub:latest image_pull_policy: Always - default_url: /lab profile_options: &profile_options_cpu requests: display_name: Resource Allocation From 7fa7d98b53847fe18bf4d234a25d3e5d59ac18b7 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Tue, 2 Apr 2024 14:09:13 -0700 Subject: [PATCH 2/2] Allow named servers for DANDI too --- config/clusters/dandi/common.values.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/clusters/dandi/common.values.yaml b/config/clusters/dandi/common.values.yaml index 1a637a2adf..a5104fcf57 100644 --- a/config/clusters/dandi/common.values.yaml +++ b/config/clusters/dandi/common.values.yaml @@ -14,6 +14,7 @@ nfs: baseShareName: / jupyterhub: hub: + allowNamedServers: true config: JupyterHub: authenticator_class: github