fix(ytproxy): Fix the template for env variables.

This commit is contained in:
Skyler Mäntysaari 2024-04-05 05:12:20 +03:00
parent aa26fdf378
commit c17ececc3f
3 changed files with 7 additions and 7 deletions

View file

@ -2,7 +2,7 @@
Environment variables used by containers.
*/}}
{{- define "ytproxy.controller.env_vars" -}}
{{- $values := merge .Values.ytproxy.env .Values.common_env -}}
{{- $values := merge .Values.ytproxy.env -}}
{{- if hasKey . "ObjectValues" -}}
{{- with .ObjectValues.env -}}
{{- $values = . -}}
@ -40,4 +40,4 @@ Environment variables used by containers.
{{- end -}}
{{- toYaml (dict "env" $result) | nindent 0 -}}
{{- end -}}
{{- end -}}
{{- end -}}