fix(argo-workflows): Restart server when configMap is updated (#3276)

* fix(argo-workflows): Restart server when configMap is updated

Signed-off-by: paihu <paihu_j@yahoo.co.jp>

* restore controller deployment

Signed-off-by: paihu <paihu_j@yahoo.co.jp>

---------

Signed-off-by: paihu <paihu_j@yahoo.co.jp>
Co-authored-by: Aikawa <yu.croco@gmail.com>
pull/3306/head argo-workflows-0.45.15
paihu 2025-05-15 12:45:44 +09:00 committed by GitHub
parent 520e98d277
commit dc27f5effd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 4 deletions

View File

@ -3,7 +3,7 @@ appVersion: v3.6.7
name: argo-workflows
description: A Helm chart for Argo Workflows
type: application
version: 0.45.14
version: 0.45.15
icon: https://argo-workflows.readthedocs.io/en/stable/assets/logo.png
home: https://github.com/argoproj/argo-helm
sources:
@ -16,5 +16,5 @@ annotations:
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: changed
description: Improve argo-workflow controller clusterrole policy
- kind: fixed
description: Restart server when configMap is updated

View File

@ -27,9 +27,14 @@ spec:
{{- with .Values.server.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.server.podAnnotations }}
{{- if or .Values.server.podAnnotations .Values.controller.configMap.create }}
annotations:
{{- with .Values.server.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.controller.configMap.create }}
checksum/cm: {{ include (print $.Template.BasePath "/controller/workflow-controller-config-map.yaml") . | sha256sum }}
{{- end }}
{{- end }}
spec:
serviceAccountName: {{ template "argo-workflows.serverServiceAccountName" . }}