Skip to content

Commit

Permalink
Add webhookconfig checksum to deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Sir-Jacques authored Oct 18, 2024
1 parent 69b3fb9 commit ab60721
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/opa-kube-mgmt/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spec:
{{- if .Values.opa }}
checksum/config: {{ tpl (toYaml .Values.opa) . | sha256sum }}
{{- end }}
{{- if .Values.admissionController.enabled }}
checksum/webhookconfiguration: {{ include (print $.Template.BasePath "/webhookconfiguration.yaml" ) . | sha256sum }}
{{- end }}
{{- if .Values.annotations }}
{{ toYaml .Values.annotations | indent 8 }}
{{- end }}
Expand Down

0 comments on commit ab60721

Please sign in to comment.