adding before hook creation delete policy

pull/2690/head
Diogo Souza 2023-05-31 00:06:58 +00:00
parent b29f38fe09
commit ec5e05e8ad
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@
+{{- end -}} +{{- end -}}
+{{- end -}} +{{- end -}}
+ +
{{/* +{{/*
+Windows cluster will add default taint for linux nodes, +Windows cluster will add default taint for linux nodes,
+add below linux tolerations to workloads could be scheduled to those linux nodes +add below linux tolerations to workloads could be scheduled to those linux nodes
+*/}} +*/}}
@ -27,7 +27,7 @@
+kubernetes.io/os: linux +kubernetes.io/os: linux
+{{- end -}} +{{- end -}}
+ +
+{{/* {{/*
Output post install webhook probe container entry Output post install webhook probe container entry
*/}} */}}
{{- define "gatekeeper.postInstallWebhookProbeContainer" -}} {{- define "gatekeeper.postInstallWebhookProbeContainer" -}}

View File

@ -7,7 +7,7 @@ metadata:
app: {{ .Chart.Name }} app: {{ .Chart.Name }}
annotations: annotations:
"helm.sh/hook": post-install, post-upgrade, post-rollback "helm.sh/hook": post-install, post-upgrade, post-rollback
"helm.sh/hook-delete-policy": hook-succeeded "helm.sh/hook-delete-policy": before-hook-creation, hook-succeeded
spec: spec:
template: template:
metadata: metadata: