From 58dfff7537112a03a7424f55d78469a970c6baa7 Mon Sep 17 00:00:00 2001 From: Daniel Lipovetsky Date: Wed, 27 Dec 2023 10:27:37 -0800 Subject: [PATCH] fixup! Use local clusterctl in make targets Add clusterctl to deploy goal dependencies --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e9d6a6ddd5..3fbe4ba36c 100644 --- a/Makefile +++ b/Makefile @@ -294,7 +294,7 @@ uninstall: manifests kustomize ## Uninstall CRDs from the K8s cluster specified $(KUSTOMIZE) build config/crd | kubectl delete --ignore-not-found=$(ignore-not-found) -f - .PHONY: deploy -deploy: manifests kustomize docker-push-kind ## Deploy controller to the K8s cluster specified in ~/.kube/config. +deploy: manifests kustomize docker-push-kind $(CLUSTERCTL) ## Deploy controller to the K8s cluster specified in ~/.kube/config. $(CLUSTERCTL) delete --infrastructure nutanix:${LOCAL_PROVIDER_VERSION} --include-crd || true $(CLUSTERCTL) init --infrastructure nutanix:${LOCAL_PROVIDER_VERSION} -v 9 # cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}