feat(helm): ensure that config changes trigger a pod rollout

This commit is contained in:
Patrick Jahns 2022-11-16 21:06:11 +01:00 committed by Maximilien Richer
parent e17970773a
commit da6f7b0dda
Signed by: maximilien
GPG Key ID: 04FD5063D6D43365
1 changed files with 3 additions and 1 deletions

View File

@ -14,8 +14,10 @@ spec:
{{- end }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels: