Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions charts/kafka-ui/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ This allows us to check if the registry of the image is specified or not.
{{- $repository := .Values.image.repository -}}
{{- $tag := .Values.image.tag | default .Chart.AppVersion -}}
{{- if $registryName }}
{{- if contains "@sha256" $tag }}
{{- printf "%s/%s%s" $registryName $repository $tag -}}
{{- else }}
{{- printf "%s/%s:%s" $registryName $repository $tag -}}
{{- end }}
{{- else }}
{{- printf "%s:%s" $repository $tag -}}
{{- end }}
Expand Down
Loading