From 347188f43d7475fe1b3b072454f27d4017020517 Mon Sep 17 00:00:00 2001 From: "Virgil R." Date: Sat, 4 Oct 2025 14:52:42 +0200 Subject: [PATCH] Fix when using a custom tag --- helm/gitea-mirror/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/gitea-mirror/templates/deployment.yaml b/helm/gitea-mirror/templates/deployment.yaml index 34e02a2..2209a71 100644 --- a/helm/gitea-mirror/templates/deployment.yaml +++ b/helm/gitea-mirror/templates/deployment.yaml @@ -49,7 +49,7 @@ spec: terminationGracePeriodSeconds: {{ .Values.deployment.terminationGracePeriodSeconds }} containers: - name: gitea-mirror - image: {{ .Values.image.registry }}/{{ .Values.image.repository }}:v{{ .Values.image.tag | default .Chart.AppVersion | toString }} + image: {{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "v%s" .Chart.AppVersion) }} imagePullPolicy: {{ .Values.image.pullPolicy }} envFrom: - configMapRef: