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