From 7e0c292b46c4f0080e0eef9661c3dad12579f305 Mon Sep 17 00:00:00 2001 From: Tarashish Mishra Date: Mon, 16 Sep 2024 08:03:20 +0530 Subject: [PATCH] Define jupyter-home-nfs as an opt-in dependency --- helm-charts/basehub/Chart.yaml | 4 ++++ helm-charts/basehub/values.schema.yaml | 13 +++++++++++++ helm-charts/basehub/values.yaml | 3 +++ 3 files changed, 20 insertions(+) diff --git a/helm-charts/basehub/Chart.yaml b/helm-charts/basehub/Chart.yaml index 30cff05d93..4a67580d01 100644 --- a/helm-charts/basehub/Chart.yaml +++ b/helm-charts/basehub/Chart.yaml @@ -25,3 +25,7 @@ dependencies: version: "2024.1.0" repository: "https://helm.dask.org/" condition: dask-gateway.enabled + - name: jupyter-home-nfs + version: 0.0.2 + repository: oci://ghcr.io/sunu/jupyter-home-nfs + condition: jupyter-home-nfs.enabled diff --git a/helm-charts/basehub/values.schema.yaml b/helm-charts/basehub/values.schema.yaml index 50af062885..a5c888e9f2 100644 --- a/helm-charts/basehub/values.schema.yaml +++ b/helm-charts/basehub/values.schema.yaml @@ -267,6 +267,19 @@ properties: type: object additionalProperties: true + jupyter-home-nfs: + type: object + additionalProperties: true + required: + - enabled + properties: + enabled: + type: boolean + description: | + Enable using jupyter-home-nfs to provide persistent storage for + user home directories on an in-cluster NFS server with storage + quota enforcement. + # binderhub-service is a dependency chart with its own schema, but we impose # some additional restrictions below via this chart's schema. binderhub-service: diff --git a/helm-charts/basehub/values.yaml b/helm-charts/basehub/values.yaml index 0f7f668691..bcc77a951a 100644 --- a/helm-charts/basehub/values.yaml +++ b/helm-charts/basehub/values.yaml @@ -1654,3 +1654,6 @@ jupyterhub: break else: print("dask-gateway service not found, this should not happen!") + +jupyter-home-nfs: + enabled: false