Skip to content

Commit

Permalink
local-setup: Add local cleanup make target
Browse files Browse the repository at this point in the history
Add `local-cleanup` make target which deletes the development kind
cluster created by `make local-setup`.
  • Loading branch information
mikenairn committed Mar 11, 2024
1 parent d447255 commit f2a112e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f2a112e

Please sign in to comment.