Skip to content

Commit

Permalink
fix: make undeploy to respect user-provided namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kurokobo authored and rooftopcellist committed May 4, 2024
1 parent 3c441ff commit 77919d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ deploy: kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/c

.PHONY: undeploy
undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/config.
cd config/default && $(KUSTOMIZE) edit set namespace ${NAMESPACE}
$(KUSTOMIZE) build config/default | kubectl delete -f -

OS := $(shell uname -s | tr '[:upper:]' '[:lower:]')
Expand Down

0 comments on commit 77919d4

Please sign in to comment.