Skip to content

Commit 1e6f98f

Browse files
committed
Fix jupyterhub_config.py
- Move subPath from volumes to volume_mounts
1 parent 870cff1 commit 1e6f98f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyterhub/files/hub/jupyterhub_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,13 @@ def camelCaseify(s):
276276
{
277277
"name": volume_name_template,
278278
"persistentVolumeClaim": {"claimName": pvc_name_template},
279-
"subPath": get_config("singleuser.storage.dynamic.subPath"),
280279
}
281280
]
282281
c.KubeSpawner.volume_mounts = [
283282
{
284283
"mountPath": get_config("singleuser.storage.homeMountPath"),
285284
"name": volume_name_template,
285+
"subPath": get_config("singleuser.storage.dynamic.subPath"),
286286
}
287287
]
288288
elif storage_type == "static":

0 commit comments

Comments
 (0)