Reflect changes in update-helm.sh and fix templating for unset values

Signed-off-by: Dennis R <dennis@elsysweyr.com>
This commit is contained in:
Dennis R 2024-03-11 23:33:56 +01:00 committed by Simon L
parent f9e78ba35e
commit 5b3658c6a0
9 changed files with 73 additions and 1 deletions

View file

@ -26,7 +26,11 @@ spec:
spec:
initContainers:
- name: init-volumes
{{- if or .Values.IMAGE_MIRROR_PREFIX .Values.ALPINE_IMAGE_ORG }}
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG}}/alpine"
{{- else }}
image: alpine
{{- end }}
command:
- chmod
- "777"