Skip to content
This repository was archived by the owner on Oct 28, 2024. It is now read-only.

Commit ed2ea2b

Browse files
committed
remove ValidatingWebhookConfiguration when clearing all virtual cluster stuff
1 parent 2e2add9 commit ed2ea2b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

virtualcluster/doc/demo.md

+3
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,9 @@ kubectl delete -f https://raw.githubusercontent.com/kubernetes-sigs/cluster-api-
341341
# The Virtual Cluster components
342342
kubectl delete -f https://raw.githubusercontent.com/kubernetes-sigs/cluster-api-provider-nested/master/virtualcluster/config/setup/all_in_one.yaml
343343

344+
# The ValidatingWebhookConfiguration which generated runtime and is cluster-scoped resource
345+
kubectl delete ValidatingWebhookConfiguration virtualcluster-validating-webhook-configuration
346+
344347
# The CRDs
345348
kubectl delete -f https://raw.githubusercontent.com/kubernetes-sigs/cluster-api-provider-nested/master/virtualcluster/config/crd/tenancy.x-k8s.io_virtualclusters.yaml
346349
kubectl delete -f https://raw.githubusercontent.com/kubernetes-sigs/cluster-api-provider-nested/master/virtualcluster/config/sampleswithspec/tenancy.x-k8s.io_clusterversions.yaml

0 commit comments

Comments
 (0)