Skip to content

Commit 6b6fb15

Browse files
committed
add checksum to deployment
Signed-off-by: Frank Jogeleit <[email protected]>
1 parent e1ff22b commit 6b6fb15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

charts/kyverno-playground/templates/deployment.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ spec:
1313
{{- include "kyverno-playground.selectorLabels" . | nindent 6 }}
1414
template:
1515
metadata:
16-
{{- with .Values.podAnnotations }}
1716
annotations:
17+
checksum/secret: {{ include (print .Template.BasePath "/config.yaml") . | sha256sum | quote }}
18+
{{- with .Values.podAnnotations }}
1819
{{- toYaml . | nindent 8 }}
1920
{{- end }}
2021
labels:

0 commit comments

Comments
 (0)