Skip to content

Commit

Permalink
Merge pull request #832 from 2i2c-org/fix_openscapes_permission
Browse files Browse the repository at this point in the history
Fix shared directory ownership and enable w+r on it
  • Loading branch information
damianavila authored Nov 15, 2021
2 parents 0e6006b + 9e9b37f commit aaf5534
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion config/hubs/openscapes.cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,27 @@ hubs:
[
"sh",
"-c",
"id && chown 1000:1000 /home/jovyan && ls -lhd /home/jovyan",
"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: 783616723547.dkr.ecr.us-west-2.amazonaws.com/user-image
tag: "d78bb6c"
storage:
extraVolumeMounts:
- name: home
mountPath: /home/jovyan/shared
subPath: _shared
readOnly: false
profileList:
# The mem-guarantees are here so k8s doesn't schedule other pods
# on these nodes.
Expand Down

0 comments on commit aaf5534

Please sign in to comment.