feat: argo-rollouts restart when configmap changes

Signed-off-by: Derek Brown <6845676+DerekTBrown@users.noreply.github.com>
pull/3119/head
Derek Brown 2025-01-09 16:49:10 -08:00
parent d963962c56
commit a8a229002e
No known key found for this signature in database
GPG Key ID: 57DB105E043121D8
2 changed files with 4 additions and 1 deletions

View File

@ -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:

View File

@ -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 }}