7e1dd3be by Adam Heath

Add annotation/checksum support.

1 parent c1ccbbf1
......@@ -23,10 +23,11 @@ spec:
{{- end }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- $checksums := (dict
"checksum/config-map" (include (print .Template.BasePath "/config-map.yaml") . | sha256sum | trunc 63)
"checksum/secret" (include (print .Template.BasePath "/secret.yaml") . | sha256sum | trunc 63)
) }}
annotations: {{ merge (dict) .Values.podAnnotations $checksums | toYaml | nindent 8 }}
labels:
{{- include "moqui.selectorLabels" . | nindent 8 }}
spec:
......