Skip to content

Commit fbbc12a

Browse files
authored
Fix an issue where deployment of helm chart crashing with operation not permitted. #9572
1 parent 9039080 commit fbbc12a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/helm/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ spec:
140140
mountPath: /pgadmin4/config_distro.py
141141
subPath: config_distro.py
142142
- name: empty-dir
143-
mountPath: /usr/bin/python3
143+
mountPath: /usr/local/bin/python3
144144
subPath: python3
145145
- name: empty-dir
146146
mountPath: /tmp
@@ -214,7 +214,7 @@ spec:
214214
image: {{ template "pgadmin4.image" . }}
215215
imagePullPolicy: {{ .Values.image.pullPolicy }}
216216
command: ["sh", "-x", "-c"]
217-
args: ['ls /usr/bin/python3.* | sort -V -r | head -n 1 | xargs -i cp {} python3']
217+
args: ['ls /venv/bin/python3.* | sort -V -r | head -n 1 | xargs -i cp {} python3']
218218
workingDir: /emptyDir
219219
volumeMounts:
220220
- name: empty-dir

0 commit comments

Comments
 (0)