Skip to content

Commit

Permalink
jovyan user has userid 1000
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmarkarl committed Nov 5, 2024
1 parent 5f98acb commit 598313f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions charts/bigdata-notebook-workspace/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ spec:
- containerPort: {{ .Values.containerPort.port }}
name: {{ .Values.containerPort.name }}
command:
- start-notebook.sh
- --allow-root
- start-notebook.py
args:
{{- range $key, $value := .Values.server }}
- --ServerApp.{{ $key | snakecase }}={{$value}}
Expand Down
5 changes: 3 additions & 2 deletions charts/bigdata-notebook-workspace/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ volume:
mountPath: /home/jovyan

podSecurityContext:
runAsUser: 0
fsGroup: 0
runAsNonRoot: true
runAsUser: 1000
fsGroup: 100

containerPort:
port: 8888
Expand Down

0 comments on commit 598313f

Please sign in to comment.