helm-chart: simplify logic around image for initcontainers

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2024-08-16 12:01:30 +02:00
parent 6a383ef27a
commit e74f52aaeb
9 changed files with 0 additions and 71 deletions

View file

@ -26,11 +26,7 @@ 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"