From 3f7cdab828da5efb1d5ee8a18b65288c0684d68c Mon Sep 17 00:00:00 2001 From: inikulin Date: Wed, 23 Jul 2025 11:39:28 +0000 Subject: [PATCH] Edit _globals.tpl --- charts/backend/templates/templates/_globals.tpl | 6 ++++++ 1 file changed, 6 insertions(+) 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" -}}