Skip to content

Commit

Permalink
Make delete now preserves the serviceaccount (#766)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellistarn authored Oct 22, 2021
1 parent 1f2bf2c commit 4987624
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ apply: ## Deploy the controller into your ~/.kube/config cluster
| $(WITH_GOFLAGS) ko apply -B -f -

delete: ## Delete the controller from your ~/.kube/config cluster
helm template karpenter charts/karpenter --namespace karpenter | kubectl delete -f -
helm template karpenter charts/karpenter --namespace karpenter \
--set serviceAccount.create=false \
| kubectl delete -f -

codegen: ## Generate code. Must be run if changes are made to ./pkg/apis/...
controller-gen \
Expand Down

0 comments on commit 4987624

Please sign in to comment.