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 untrusted user: maximilien
GPG key ID: 04FD5063D6D43365

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: