Fixing templates for additionalContainers definitions, part two.

Typing is hard..
This commit is contained in:
Skyler Mäntysaari 2024-04-05 08:30:13 +03:00
parent 3a6387a9bf
commit c78b7bc9e8
5 changed files with 6 additions and 6 deletions

View file

@ -67,7 +67,7 @@ containers:
{{- range $index, $key := (keys .Values.ytproxy.additionalContainers | uniq | sortAlpha) }}
{{- $container := get $.Values.ytproxy.additionalContainers $key }}
{{- if not $container.name -}}
{{- $_ := set $container "name" $name }}
{{- $_ := set $container "name" $key }}
{{- end }}
{{- if $container.env -}}
{{- $_ := set $ "ObjectValues" (dict "env" $container.env) -}}