@@ -18,34 +18,35 @@ jupyterhub:
1818 name : volume-mount-ownership-fix
1919 image : busybox:1.36.1
2020 command :
21- - sh
22- - -c
23- # create the shared group directories and fix ownership
24- # so that they are owned by the user
25- - >
26- id &&
27- mkdir -p /home/jovyan/shared-group/CPU_L &&
28- mkdir -p /home/jovyan/shared-group/GPU_T4 &&
29- chown 1000:1000 /home/jovyan /home/jovyan/shared /home/jovyan/shared-public &&
30- chown 1000:1000 /home/jovyan/shared-group/* &&
31- ls -lhd /home/jovyan
21+ - sh
22+ - -c
23+ # create the shared group directories and fix ownership
24+ # so that they are owned by the user
25+ - >
26+ id &&
27+ chown 1000:1000 /home/jovyan /home/jovyan/shared /home/jovyan/shared-public &&
28+ chown 1000:1000 /home/jovyan/shared-group/* &&
29+ ls -lhd /home/jovyan
3230 securityContext :
3331 runAsUser : 0
3432 volumeMounts :
35- - name : home
36- mountPath : /home/jovyan
37- subPath : " {escaped_username}"
38- # Mounted without readonly attribute here,
39- # so we can chown it appropriately
40- - name : home
41- mountPath : /home/jovyan/shared
42- subPath : _shared
43- - name : home
44- mountPath : /home/jovyan/shared-public
45- subPath : _shared-public
46- - name : home
47- mountPath : /home/jovyan/shared-group
48- subPath : _shared-group
33+ - name : home
34+ mountPath : /home/jovyan
35+ subPath : " {escaped_username}"
36+ # Mounted without readonly attribute here,
37+ # so we can chown it appropriately
38+ - name : home
39+ mountPath : /home/jovyan/shared
40+ subPath : _shared
41+ - name : home
42+ mountPath : /home/jovyan/shared-public
43+ subPath : _shared-public
44+ - name : home
45+ mountPath : /home/jovyan/shared-group/CPU_L
46+ subPath : _shared-group/CPU_L
47+ - name : home
48+ mountPath : /home/jovyan/shared-group/GPU_T4
49+ subPath : _shared-group/GPU_T4
4950 storage :
5051 type : null
5152
@@ -319,7 +320,6 @@ jupyterhub:
319320 name : home
320321 mountPath : /home/jovyan/shared-group/GPU_T4
321322 subPath : _shared-group/GPU_T4
322-
323323 Authenticator :
324324 admin_users : []
325325 GitHubOAuthenticator :
0 commit comments