Skip to content

Commit 4dd2356

Browse files
committed
Fix helm chart image version
1 parent d3c3aa1 commit 4dd2356

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deploy/charts/backend/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spec:
4646
securityContext:
4747
{{- toYaml . | nindent 12 }}
4848
{{- end }}
49-
image: "{{ .Values.backend.image.repository }}:{{ .Values.backend.image.tag | default .Chart.AppVersion }}"
49+
image: "{{ .Values.backend.image.repository }}:{{ .Values.backend.image.tag | default (printf "v%s" (.Chart.AppVersion | trimPrefix "v")) }}"
5050
imagePullPolicy: {{ .Values.backend.image.pullPolicy }}
5151
env:
5252
{{- if .Values.backend.oidc.clientSecretName }}

0 commit comments

Comments
 (0)