Skip to content

Commit e9a214a

Browse files
committed
Fix missing flavor
Signed-off-by: Florian Ruechel <code@inexplicity.de>
1 parent f382390 commit e9a214a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

charts/nextcloud/templates/_helpers.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ Create chart name and version as used by the chart label.
4242
Create image name that is used in the deployment
4343
*/}}
4444
{{- define "nextcloud.image" -}}
45+
{{- if .Values.image.tag -}}
4546
{{- printf "%s/%s:%s" (coalesce .Values.global.image.registry .Values.image.registry) .Values.image.repository (include "nextcloud.version" .) -}}
47+
{{- else -}}
48+
{{- printf "%s/%s:%s-%s" (coalesce .Values.global.image.registry .Values.image.registry) .Values.image.repository (include "nextcloud.version" .) .Values.image.flavor -}}
4649
{{- end -}}
4750

4851
{{/*

0 commit comments

Comments
 (0)