mirror of https://git.rancher.io/charts
adding before hook creation delete policy
parent
b29f38fe09
commit
ec5e05e8ad
|
@ -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" -}}
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue