Skip to content

Commit

Permalink
CEML-293: Remove chown from Jupyter (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpirogovski authored Dec 8, 2024
1 parent c489cac commit 3c7a703
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion charts/mlrun-ce/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: mlrun-ce
version: 0.7.1-rc4
version: 0.7.1-rc5
description: MLRun Open Source Stack
home: https://iguazio.com
icon: https://www.iguazio.com/wp-content/uploads/2019/10/Iguazio-Logo.png
Expand Down
12 changes: 1 addition & 11 deletions charts/mlrun-ce/templates/jupyter-notebook/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,7 @@ spec:
runAsUser: 1000
runAsGroup: 100
fsGroup: 100
initContainers:
- name: init-chown-data
# jupyter default NB user: uid=1000(jovyan) gid=100(users) groups=100(users)
command: ["chown", "-R", "1000:100", "/home/jovyan/"]
image: "{{ .Values.jupyterNotebook.busybox.image }}:{{ .Values.jupyterNotebook.busybox.tag }}"
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0
volumeMounts:
- mountPath: /home/jovyan/
name: notebooks
fsGroupChangePolicy: OnRootMismatch
containers:
- name: jupyter-notebook
image: "{{ .Values.jupyterNotebook.image.repository }}:{{ .Values.jupyterNotebook.image.tag }}"
Expand Down

0 comments on commit 3c7a703

Please sign in to comment.