Skip to content

Commit

Permalink
#2890 Added configmap checksum annotation to restart Deployments on C…
Browse files Browse the repository at this point in the history
…onfigMap update

Signed-off-by: Brian Dunnigan <bdunnigan@clarityinnovates.com>
  • Loading branch information
bdun1013 committed Aug 20, 2024
1 parent d1f5d50 commit b7e5de3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ spec:
{{- with.Values.controller.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.controller.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/controller/workflow-controller-config-map.yaml") . | sha256sum }}
{{- with .Values.controller.podAnnotations }}
checksum/config: {{ include (print $.Template.BasePath "/controller/workflow-controller-config-map.yaml") . | sha256sum }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ spec:
{{- with .Values.server.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.server.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/controller/workflow-controller-config-map.yaml") . | sha256sum }}
{{- with .Values.server.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
Expand Down

0 comments on commit b7e5de3

Please sign in to comment.