@@ -18,34 +18,35 @@ jupyterhub:
18
18
name : volume-mount-ownership-fix
19
19
image : busybox:1.36.1
20
20
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
32
30
securityContext :
33
31
runAsUser : 0
34
32
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
49
50
storage :
50
51
type : null
51
52
@@ -319,7 +320,6 @@ jupyterhub:
319
320
name : home
320
321
mountPath : /home/jovyan/shared-group/GPU_T4
321
322
subPath : _shared-group/GPU_T4
322
-
323
323
Authenticator :
324
324
admin_users : []
325
325
GitHubOAuthenticator :
0 commit comments