Fix an issue where deployment of helm chart crashing with operation not permitted. #9572

pull/9580/head
Simon Randby 2026-02-09 12:43:43 +01:00 committed by GitHub
parent 9039080214
commit fbbc12a0a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ spec:
mountPath: /pgadmin4/config_distro.py
subPath: config_distro.py
- name: empty-dir
mountPath: /usr/bin/python3
mountPath: /usr/local/bin/python3
subPath: python3
- name: empty-dir
mountPath: /tmp
@ -214,7 +214,7 @@ spec:
image: {{ template "pgadmin4.image" . }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: ["sh", "-x", "-c"]
args: ['ls /usr/bin/python3.* | sort -V -r | head -n 1 | xargs -i cp {} python3']
args: ['ls /venv/bin/python3.* | sort -V -r | head -n 1 | xargs -i cp {} python3']
workingDir: /emptyDir
volumeMounts:
- name: empty-dir