Skip to content

Commit

Permalink
Define jupyter-home-nfs as an opt-in dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
sunu committed Sep 16, 2024
1 parent 962b5ae commit 7e0c292
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm-charts/basehub/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
13 changes: 13 additions & 0 deletions helm-charts/basehub/values.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions helm-charts/basehub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1654,3 +1654,6 @@ jupyterhub:
break
else:
print("dask-gateway service not found, this should not happen!")
jupyter-home-nfs:
enabled: false

0 comments on commit 7e0c292

Please sign in to comment.