Edit _globals.tpl
This commit is contained in:
parent
288232cb12
commit
fb2d93bcf4
@ -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 -}}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user