mirror of https://github.com/istio/istio.io.git
Remove explicit webhookconfig deletion steps (#12285)
* Remove explicit webhookconfig deletion steps Signed-off-by: Faseela K <faseela.k@est.tech> * Incorporate review comments Signed-off-by: Faseela K <faseela.k@est.tech> Signed-off-by: Faseela K <faseela.k@est.tech>
This commit is contained in:
parent
d9079cb642
commit
ebad273a9a
|
@ -20,9 +20,6 @@ set -o pipefail
|
|||
|
||||
# @setup profile=none
|
||||
|
||||
# Delete a vailidatingwebhookconfiguration that seems to have been left around from a prior test.
|
||||
kubectl delete validatingwebhookconfigurations.admissionregistration.k8s.io istiod-default-validator --ignore-not-found
|
||||
|
||||
snip_create_istio_system_namespace
|
||||
_rewrite_helm_repo snip_install_base
|
||||
|
||||
|
|
|
@ -479,7 +479,7 @@ To uninstall Istio, run the following command:
|
|||
|
||||
{{< text bash >}}
|
||||
$ kubectl delete -n istio-system -f @samples/multicluster/expose-istiod.yaml@
|
||||
$ istioctl manifest generate | kubectl delete -f -
|
||||
$ istioctl uninstall -y --purge
|
||||
{{< /text >}}
|
||||
|
||||
The control plane namespace (e.g., `istio-system`) is not removed by default.
|
||||
|
|
|
@ -244,7 +244,7 @@ sudo rpm -e istio-sidecar
|
|||
|
||||
snip_uninstall_4() {
|
||||
kubectl delete -n istio-system -f samples/multicluster/expose-istiod.yaml
|
||||
istioctl manifest generate | kubectl delete -f -
|
||||
istioctl uninstall -y --purge
|
||||
}
|
||||
|
||||
snip_uninstall_5() {
|
||||
|
|
|
@ -51,6 +51,4 @@ _verify_contains check_call "Hello version:"
|
|||
# @cleanup
|
||||
docker stop vm
|
||||
snip_uninstall_4
|
||||
kubectl delete validatingwebhookconfiguration istiod-default-validator #TODO fix snip and then remove
|
||||
kubectl delete mutatingwebhookconfiguration istio-revision-tag-default #TODO fix snip and then remove
|
||||
kubectl delete namespace istio-system vm-namespace sample
|
||||
|
|
Loading…
Reference in New Issue