From a8a229002e5901a349f7798994a25b0ce7f08876 Mon Sep 17 00:00:00 2001 From: Derek Brown <6845676+DerekTBrown@users.noreply.github.com> Date: Thu, 9 Jan 2025 16:49:10 -0800 Subject: [PATCH] feat: argo-rollouts restart when configmap changes Signed-off-by: Derek Brown <6845676+DerekTBrown@users.noreply.github.com> --- charts/argo-rollouts/Chart.yaml | 2 +- charts/argo-rollouts/templates/controller/deployment.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/argo-rollouts/Chart.yaml b/charts/argo-rollouts/Chart.yaml index 757a63296..5d7cbaf86 100644 --- a/charts/argo-rollouts/Chart.yaml +++ b/charts/argo-rollouts/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v1.7.2 description: A Helm chart for Argo Rollouts name: argo-rollouts -version: 2.38.2 +version: 2.38.3 home: https://github.com/argoproj/argo-helm icon: https://argoproj.github.io/argo-rollouts/assets/logo.png keywords: diff --git a/charts/argo-rollouts/templates/controller/deployment.yaml b/charts/argo-rollouts/templates/controller/deployment.yaml index 7aea72a41..c290e177e 100644 --- a/charts/argo-rollouts/templates/controller/deployment.yaml +++ b/charts/argo-rollouts/templates/controller/deployment.yaml @@ -31,6 +31,9 @@ spec: {{- range $key, $value := . }} {{ $key }}: {{ $value | quote }} {{- end }} + {{/* Add the checksum of the ConfigMap to the annotations */}} + {{/* This ensures that ConfigMap changes trigger a rolling update */}} + configmap-checksum: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} {{- end }} labels: {{- include "argo-rollouts.selectorLabels" . | nindent 8 }}