Skip to content

Commit

Permalink
Fix jupyterhub_config.py
Browse files Browse the repository at this point in the history
- Move subPath from volumes to volume_mounts
  • Loading branch information
benz0li committed Jul 30, 2024
1 parent 870cff1 commit 1e6f98f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyterhub/files/hub/jupyterhub_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,13 @@ def camelCaseify(s):
{
"name": volume_name_template,
"persistentVolumeClaim": {"claimName": pvc_name_template},
"subPath": get_config("singleuser.storage.dynamic.subPath"),
}
]
c.KubeSpawner.volume_mounts = [
{
"mountPath": get_config("singleuser.storage.homeMountPath"),
"name": volume_name_template,
"subPath": get_config("singleuser.storage.dynamic.subPath"),
}
]
elif storage_type == "static":
Expand Down

0 comments on commit 1e6f98f

Please sign in to comment.