fix: init containers (#40)

This commit is contained in:
Skyler Mäntysaari 2023-07-21 06:00:40 +03:00 committed by GitHub
parent a52fb2b85d
commit 5280698596
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 10 deletions

View file

@ -46,7 +46,7 @@ terminationGracePeriodSeconds: {{ . }}
initContainers:
{{- $initContainers := list }}
{{- range $index, $key := (keys .Values.frontend.initContainers | uniq | sortAlpha) }}
{{- $container := get $.Values.initContainers $key }}
{{- $container := get $.Values.frontend.initContainers $key }}
{{- if not $container.name -}}
{{- $_ := set $container "name" $key }}
{{- end }}