From a719fd0b3e353e49963d88978e8847c3256953a4 Mon Sep 17 00:00:00 2001 From: Todd Short Date: Wed, 10 Jul 2024 13:56:18 -0400 Subject: [PATCH] Fix the kind-redeploy target Signed-off-by: Todd Short --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a7409fd8a..c0daa7237 100644 --- a/Makefile +++ b/Makefile @@ -170,13 +170,13 @@ kind-load: $(KIND) #EXHELP Loads the currently constructed image onto the cluste .PHONY: kind-deploy kind-deploy: export MANIFEST="./operator-controller.yaml" kind-deploy: manifests $(KUSTOMIZE) #EXHELP Install controller and dependencies onto the kind cluster. - $(KUSTOMIZE) build $(KUSTOMIZE_BUILD_DIR) > operator-controller.yaml + $(KUSTOMIZE) build $(KUSTOMIZE_BUILD_DIR) > $(MANIFEST) envsubst '$$CATALOGD_VERSION,$$CERT_MGR_VERSION,$$MANIFEST' < scripts/install.tpl.sh | bash -s .PHONY: kind-redeploy +kind-redeploy: OPERATOR_CONTROLLER_NAMESPACE ?= olmv1-system kind-redeploy: generate docker-build kind-load kind-deploy #EXHELP Redeploy newly built executables kubectl delete pod -l control-plane=controller-manager -n $(OPERATOR_CONTROLLER_NAMESPACE) - envsubst '$$CATALOGD_VERSION,$$CERT_MGR_VERSION,$$MANIFEST' < scripts/install.tpl.sh | bash -s .PHONY: kind-cluster kind-cluster: $(KIND) #EXHELP Standup a kind cluster.