diff --git a/jupyterhub/schema.yaml b/jupyterhub/schema.yaml index 0ffa237fef..a50eb5b157 100644 --- a/jupyterhub/schema.yaml +++ b/jupyterhub/schema.yaml @@ -674,9 +674,12 @@ properties: documentation](https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1) for more information. storageClassName: - type: string + type: [string, "null"] description: | Name of the StorageClass required by the claim. + + If this is a blank string it will be set to a blank string, + while if it is null, it will not be set at all. subPath: type: string description: | diff --git a/jupyterhub/values.yaml b/jupyterhub/values.yaml index c74f09e511..42f8a41dc3 100644 --- a/jupyterhub/values.yaml +++ b/jupyterhub/values.yaml @@ -64,7 +64,7 @@ hub: - ReadWriteOnce storage: 1Gi subPath: "" - storageClassName: "" + storageClassName: url: "" password: "" labels: {}