Skip to content

Commit

Permalink
add checksum annotation in deployment
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Kloeker <[email protected]>
  • Loading branch information
eumel8 committed Dec 1, 2023
1 parent 83715b0 commit ada32b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ spec:
{{- include "sparrow.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
Expand Down

0 comments on commit ada32b5

Please sign in to comment.