mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-30 19:35:06 +00:00
cleanup new validate webhooks (#5851)
Signed-off-by: ShutingZhao <shuting@nirmata.com> Signed-off-by: ShutingZhao <shuting@nirmata.com>
This commit is contained in:
parent
3624697fdc
commit
744d151468
1 changed files with 2 additions and 5 deletions
|
@ -19,11 +19,8 @@ spec:
|
|||
- sh
|
||||
- '-c'
|
||||
- >-
|
||||
kubectl delete validatingwebhookconfiguration kyverno-policy-validating-webhook-cfg;
|
||||
kubectl delete validatingwebhookconfiguration kyverno-resource-validating-webhook-cfg;
|
||||
kubectl delete mutatingwebhookconfiguration kyverno-policy-mutating-webhook-cfg;
|
||||
kubectl delete mutatingwebhookconfiguration kyverno-resource-mutating-webhook-cfg;
|
||||
kubectl delete mutatingwebhookconfiguration kyverno-verify-mutating-webhook-cfg;
|
||||
kubectl delete validatingwebhookconfiguration -l webhook.kyverno.io/managed-by=kyverno;
|
||||
kubectl delete mutatingwebhookconfiguration -l webhook.kyverno.io/managed-by=kyverno;
|
||||
restartPolicy: Never
|
||||
backoffLimit: 2
|
||||
{{- end }}
|
Loading…
Add table
Reference in a new issue