From bf044b22567acb08535d706f30acc1a5cf56aaa0 Mon Sep 17 00:00:00 2001 From: "Marco Maurer (-Kilchhofer)" Date: Tue, 1 Apr 2025 23:36:53 +0200 Subject: [PATCH] fix(argo-rollouts): Fix scope and path to CM for checksum calculation (#3227) --- charts/argo-rollouts/Chart.yaml | 4 ++-- charts/argo-rollouts/templates/controller/deployment.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/argo-rollouts/Chart.yaml b/charts/argo-rollouts/Chart.yaml index aee13b83..878bc54d 100644 --- a/charts/argo-rollouts/Chart.yaml +++ b/charts/argo-rollouts/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v1.8.2 description: A Helm chart for Argo Rollouts name: argo-rollouts -version: 2.39.4 +version: 2.39.5 home: https://github.com/argoproj/argo-helm icon: https://argoproj.github.io/argo-rollouts/assets/logo.png keywords: @@ -18,5 +18,5 @@ annotations: fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252 url: https://argoproj.github.io/argo-helm/pgp_keys.asc artifacthub.io/changes: | - - kind: changed + - kind: fixed description: argo-rollouts will re-deploy if changes are made to the argo-rollouts configmap. diff --git a/charts/argo-rollouts/templates/controller/deployment.yaml b/charts/argo-rollouts/templates/controller/deployment.yaml index 954453f0..0449fabc 100644 --- a/charts/argo-rollouts/templates/controller/deployment.yaml +++ b/charts/argo-rollouts/templates/controller/deployment.yaml @@ -26,13 +26,13 @@ spec: revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }} template: metadata: - {{- with (mergeOverwrite (deepCopy .Values.podAnnotations) .Values.controller.podAnnotations) }} annotations: + {{- with (mergeOverwrite (deepCopy .Values.podAnnotations) .Values.controller.podAnnotations) }} {{- range $key, $value := . }} {{ $key }}: {{ $value | quote }} {{- end }} - checksum/cm: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} - {{- end }} + {{- end }} + checksum/cm: {{ include (print $.Template.BasePath "/controller/configmap.yaml") . | sha256sum }} labels: {{- include "argo-rollouts.selectorLabels" . | nindent 8 }} app.kubernetes.io/component: {{ .Values.controller.component }}