Skip to content

Commit

Permalink
Merge pull request #33 from jozefhalgas/feature/checksum
Browse files Browse the repository at this point in the history
automatically roll deployments on config change
  • Loading branch information
aratz-lasa authored Mar 6, 2024
2 parents 94373a4 + 64d2846 commit 083df19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/warpstream-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ spec:
{{- include "warpstream-agent.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
Expand Down

0 comments on commit 083df19

Please sign in to comment.