From ff46ff623299461abade27478128f7e5ce409557 Mon Sep 17 00:00:00 2001 From: Noste <83548733+Noooste@users.noreply.github.com> Date: Fri, 15 May 2026 18:52:49 +0200 Subject: [PATCH] fix: Helm image tag (#53) * fix(helm): update image tag logic to handle version prefixes correctly Signed-off-by: Noste <83548733+Noooste@users.noreply.github.com> * fix(ci): exclude helm/garage-ui from changelog generation Signed-off-by: Noste <83548733+Noooste@users.noreply.github.com> --------- Signed-off-by: Noste <83548733+Noooste@users.noreply.github.com> --- helm/garage-ui/templates/deployment.yaml | 2 +- release-please-config.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/helm/garage-ui/templates/deployment.yaml b/helm/garage-ui/templates/deployment.yaml index 47c24a5..68929d8 100644 --- a/helm/garage-ui/templates/deployment.yaml +++ b/helm/garage-ui/templates/deployment.yaml @@ -30,7 +30,7 @@ spec: - name: {{ .Chart.Name }} securityContext: {{- toYaml .Values.securityContext | nindent 12 }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (ternary .Chart.AppVersion (printf "v%s" .Chart.AppVersion) (hasPrefix "v" .Chart.AppVersion)) }}" imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - name: http diff --git a/release-please-config.json b/release-please-config.json index a5f1218..f461283 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -9,6 +9,7 @@ "component": "garage-ui", "include-component-in-tag": false, "changelog-path": "CHANGELOG.md", + "exclude-paths": ["helm/garage-ui"], "extra-files": [ { "type": "yaml",