Fixing end templates for backend

This commit is contained in:
Skyler Mäntysaari 2024-04-05 09:06:27 +03:00
parent ac75108ad0
commit a28df47fff
3 changed files with 5 additions and 5 deletions

View file

@ -2,7 +2,7 @@
Environment variables used by containers.
*/}}
{{- define "backend.controller.env_vars" -}}
{{- $values := merge .Values.backend.env .Values.common_env -}}
{{- $values := merge .Values.backend.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 -}}