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

Commit acdb025

Browse files
authored
Merge pull request #140 from vincent-pli/delete-webhook-when-clearing
Remove ValidatingWebhookConfiguration when clearing all virtual cluster stuff
2 parents 2e2add9 + ed2ea2b commit acdb025

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)