Edit _globals.tpl

This commit is contained in:
inikulin 2025-07-25 13:12:57 +00:00
parent 780ef33291
commit 4489d72b67

View File

@ -59,6 +59,12 @@
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
{{- define "global.env.elastic" -}}
{{- if .Values.global.infrastructure.elastic.enabled -}}
{{- tpl (.Values.global.envTemplates.elastic | toYaml) . | nindent 0 -}}
{{- end -}}
{{- end -}}
{{- define "global.imageRepository" -}} {{- define "global.imageRepository" -}}
{{- $prefix := .Values.global.dockerRegistryPrefix | default "registry.co-work.ru/" -}} {{- $prefix := .Values.global.dockerRegistryPrefix | default "registry.co-work.ru/" -}}
{{- $name := .Chart.Name | default "unknown" -}} {{- $name := .Chart.Name | default "unknown" -}}