Edit _globals.tpl

This commit is contained in:
inikulin 2025-07-22 12:56:14 +00:00
parent 288232cb12
commit fb2d93bcf4

View File

@ -40,3 +40,9 @@
{{- tpl (.Values.global.envTemplates.general | toYaml) . | nindent 0 -}}
{{- end -}}
{{- end -}}
{{- define "global.imageRepository" -}}
{{- $prefix := .Values.global.dockerRegistryPrefix | default "" -}}
{{- $name := .Chart.Name -}}
{{- printf "%s%s" $prefix $name -}}
{{- end -}}