From ed6e7e8595fb67acc2b64fd8a70be91924b45547 Mon Sep 17 00:00:00 2001 From: Iaroslav Ivchenkov Date: Mon, 30 Dec 2024 12:50:31 +0200 Subject: [PATCH] fixed make help for cleanup section --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4ca5d2b..19d4646 100644 --- a/Makefile +++ b/Makefile @@ -427,15 +427,15 @@ certs/platform-engineer1/platform-engineer1.csr: certs/platform-engineer1/platfo certs/platform-engineer1/platform-engineer1.crt: certs/platform-engineer1/platform-engineer1.csr certs/ca/ca.crt certs/ca/ca.key openssl x509 -req -in certs/platform-engineer1/platform-engineer1.csr -CA certs/ca/ca.crt -CAkey certs/ca/ca.key -CAcreateserial -out certs/platform-engineer1/platform-engineer1.crt -days 360 -##@ Tear down managed cluster +##@ Cleanup + .PHONY: cleanup-clusters -cleanup-clusters: clean-certs +cleanup-clusters: clean-certs ## Tear down managed cluster # use the explicit --context option to be specific about which cluster should be used to prevent disaster kubectl --context=kind-$(KIND_CLUSTER_NAME) delete managedclusters.hmc.mirantis.com -n $(HMC_NAMESPACE) --all -##@ Tear down management cluster .PHONY: cleanup -cleanup: cleanup-clusters clean-certs +cleanup: cleanup-clusters clean-certs ## Tear down management cluster @if $(KIND) get clusters | grep -q $(KIND_CLUSTER_NAME); then\ $(KIND) kind delete cluster --name=$(KIND_CLUSTER_NAME);\ else\