diff --git a/charts/backend/templates/templates/_globals.tpl b/charts/backend/templates/templates/_globals.tpl index e2b0ed1..90398a6 100755 --- a/charts/backend/templates/templates/_globals.tpl +++ b/charts/backend/templates/templates/_globals.tpl @@ -47,6 +47,12 @@ {{- end -}} {{- end -}} +{{- define "global.env.call" -}} + {{- if .Values.global.infrastructure.call.enabled -}} + {{- tpl (.Values.global.envTemplates.call | toYaml) . | nindent 0 -}} + {{- end -}} +{{- end -}} + {{- define "global.imageRepository" -}} {{- $prefix := .Values.global.dockerRegistryPrefix | default "registry.co-work.ru/" -}} {{- $name := .Chart.Name | default "unknown" -}}