Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit 258026e

Browse files
committed
🔓 Enable jovyan sudo, for greater installation flexibility within Jupyter
1 parent 4677516 commit 258026e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎deploy/templates/jupyter.yaml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ spec:
3232
name: jupyter
3333
command: ["start.sh"]
3434
args: ["jupyter", "lab", "--LabApp.token=''", "--LabApp.allow_origin='*'"]
35+
env:
36+
- name: GRANT_SUDO
37+
value: "yes"
3538
securityContext:
36-
runAsNonRoot: true
39+
runAsUser: 0
3740
resources: {{- toYaml .Values.components.jupyter.resources | nindent 10 }}
3841
volumeMounts:
3942
- name: jupyter

0 commit comments

Comments
 (0)