Skip to content

Commit

Permalink
jmte: add volume hack to chown /shared folder
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Jul 10, 2021
1 parent ea50d41 commit 4a2499b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/hubs/jmte.cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,16 @@ hubs:
# Need to explicitly fix ownership here, since EFS doesn't do anonuid
- name: volume-mount-ownership-fix
image: busybox
command: ["sh", "-c", "id && chown 1000:1000 /home/jovyan && ls -lhd /home/jovyan"]
command: ["sh", "-c", "id && chown 1000:1000 /home/jovyan /home/jovyan/shared && ls -lhd /home/jovyan"]
securityContext:
runAsUser: 0
volumeMounts:
- name: home
mountPath: /home/jovyan
subPath: "{username}"
- name: home
mountPath: /home/jovyan/shared
subPath: _shared

image:
name: pangeo/pangeo-notebook
Expand Down

0 comments on commit 4a2499b

Please sign in to comment.