Skip to content

Commit

Permalink
chore(shield): add webhook/checksum on cluster deployment (#2033)
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-furlan authored Nov 14, 2024
1 parent d443325 commit fbcda7f
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 25 deletions.
2 changes: 1 addition & 1 deletion charts/shield/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ maintainers:
- name: mavimo
email: [email protected]
type: application
version: 0.1.18
version: 0.1.19
appVersion: "1.0.0"
1 change: 1 addition & 0 deletions charts/shield/templates/cluster/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ spec:
template:
metadata:
annotations:
checksum/webhook: {{ include (print $.Template.BasePath "/cluster/tls-certificates-admissionregistration.yaml") . | sha256sum | quote }}
{{- $podAnnotations := (include "cluster.pod_annotations" .) }}
{{- if $podAnnotations }}
{{- $podAnnotations | nindent 8 }}
Expand Down
Loading

0 comments on commit fbcda7f

Please sign in to comment.