mirror of https://git.rancher.io/charts
adding before hook creation delete policy
parent
b29f38fe09
commit
ec5e05e8ad
|
@ -12,7 +12,7 @@
|
|||
+{{- end -}}
|
||||
+{{- end -}}
|
||||
+
|
||||
{{/*
|
||||
+{{/*
|
||||
+Windows cluster will add default taint for linux nodes,
|
||||
+add below linux tolerations to workloads could be scheduled to those linux nodes
|
||||
+*/}}
|
||||
|
@ -27,7 +27,7 @@
|
|||
+kubernetes.io/os: linux
|
||||
+{{- end -}}
|
||||
+
|
||||
+{{/*
|
||||
{{/*
|
||||
Output post install webhook probe container entry
|
||||
*/}}
|
||||
{{- define "gatekeeper.postInstallWebhookProbeContainer" -}}
|
||||
|
|
|
@ -7,7 +7,7 @@ metadata:
|
|||
app: {{ .Chart.Name }}
|
||||
annotations:
|
||||
"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:
|
||||
template:
|
||||
metadata:
|
||||
|
|
Loading…
Reference in New Issue