#2890 Added configmap checksum annotation to restart Deployments on ConfigMap update

Signed-off-by: Brian Dunnigan <bdunnigan@clarityinnovates.com>
This commit is contained in:
Brian Dunnigan 2024-08-20 13:50:27 -04:00
parent d1f5d50dcd
commit f4fc529905
No known key found for this signature in database
3 changed files with 7 additions and 5 deletions

View file

@ -3,7 +3,7 @@ appVersion: v3.5.10
name: argo-workflows name: argo-workflows
description: A Helm chart for Argo Workflows description: A Helm chart for Argo Workflows
type: application type: application
version: 0.41.14 version: 0.42.0
icon: https://argo-workflows.readthedocs.io/en/stable/assets/logo.png icon: https://argo-workflows.readthedocs.io/en/stable/assets/logo.png
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
sources: sources:
@ -16,5 +16,5 @@ annotations:
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252 fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: fixed - kind: added
description: Avoid empty namespace in role binding when singleNamespace is true description: Added configmap checksum annotation to restart Deployments on ConfigMap update

View file

@ -24,8 +24,9 @@ spec:
{{- with.Values.controller.podLabels }} {{- with.Values.controller.podLabels }}
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- with .Values.controller.podAnnotations }}
annotations: annotations:
checksum/config: {{ include (print $.Template.BasePath "/controller/workflow-controller-config-map.yaml") . | sha256sum }}
{{- with .Values.controller.podAnnotations }}
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
spec: spec:

View file

@ -27,8 +27,9 @@ spec:
{{- with .Values.server.podLabels }} {{- with .Values.server.podLabels }}
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- with .Values.server.podAnnotations }}
annotations: annotations:
checksum/config: {{ include (print $.Template.BasePath "/controller/workflow-controller-config-map.yaml") . | sha256sum }}
{{- with .Values.server.podAnnotations }}
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
spec: spec: