Skip to content

Commit 653252e

Browse files
Sir-Jacqueseshepelyuk
authored andcommitted
Add webhookconfig checksum to deployment
Signed-off-by: jacco <[email protected]>
1 parent 69b3fb9 commit 653252e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

charts/opa-kube-mgmt/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ spec:
1919
{{- if .Values.opa }}
2020
checksum/config: {{ tpl (toYaml .Values.opa) . | sha256sum }}
2121
{{- end }}
22+
{{- if .Values.admissionController.enabled }}
23+
checksum/webhookconfiguration: {{ include (print $.Template.BasePath "/webhookconfiguration.yaml" ) . | sha256sum }}
24+
{{- end }}
2225
{{- if .Values.annotations }}
2326
{{ toYaml .Values.annotations | indent 8 }}
2427
{{- end }}

0 commit comments

Comments
 (0)