Skip to content

Commit e88ea7f

Browse files
authored
Fix image version formatting in _helpers.tpl
See issue #82 for details
1 parent 4058ee0 commit e88ea7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/db-operator/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,5 +124,5 @@ Image version definition;
124124
Image version definition using Github Packages format ('v' prefix);
125125
*/}}
126126
{{- define "github_packages_image_version" -}}
127-
{{- printf "v%s" (default .Chart.AppVersion .Values.image.tag) }}
127+
{{- default (printf "v%s" .Chart.AppVersion) .Values.image.tag }}
128128
{{- end -}}

0 commit comments

Comments
 (0)