From 204b52bdc98b65133d3bf02b232e378fae92b843 Mon Sep 17 00:00:00 2001 From: Michael Nairn Date: Mon, 11 Mar 2024 16:23:13 +0000 Subject: [PATCH] local-setup: Add local cleanup make target Add `local-cleanup` make target which deletes the development kind cluster created by `make local-setup`. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index c08e2113..47718113 100644 --- a/Makefile +++ b/Makefile @@ -169,6 +169,10 @@ local-setup: $(KIND) ## Setup local development kind cluster, dependencies and o $(KUBECTL) -n ${TEST_NAMESPACE} get managedzones @echo "local-setup: Complete!!" +.PHONY: local-cleanup +local-cleanup: ## Delete local cluster + $(MAKE) kind-delete-cluster + .PHONY: local-deploy local-deploy: docker-build kind-load-image ## Deploy the dns operator into local kind cluster from the current code $(KUBECTL) config use-context kind-$(KIND_CLUSTER_NAME)