Use -i instead of -I in the helm deployment YAML for best minimal practice.

pull/9411/head
Koren Peretz 2025-12-01 12:57:46 +02:00 committed by GitHub
parent 9c8df1ad3b
commit 56040aa116
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -153,5 +153,5 @@ containerSecurityContext:
appArmorProfile: appArmorProfile:
type: RuntimeDefault type: RuntimeDefault
windowsOptions: windowsOptions:
hostProcess: false hostProcess: false