fix: Write change-password script in /tmp instead of CWD
On Openshift/OKD, the current working directory isn't necessarily
writable by the pod running the utility container.
@@ -28,8 +28,8 @@ spec:
args:
- "-c"
- >-
- echo -e {{ .Files.Get "scripts/k8s-password-change.py" | quote }} > change-pw.py &&
- python3 change-pw.py
+ echo -e {{ .Files.Get "scripts/k8s-password-change.py" | quote }} > /tmp/change-pw.py &&
+ python3 /tmp/change-pw.py
{{ .Release.Namespace | quote }} \
{{ .Release.Name | quote }} \
{{ .Values.masterPort | quote }} \
