From b415497de31df3482dae7229438aff7449fef925 Mon Sep 17 00:00:00 2001 From: Todd Short Date: Wed, 1 May 2024 14:18:50 -0400 Subject: [PATCH] Add make kind-redeploy Signed-off-by: Todd Short --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index f99493a90..6cab1c902 100644 --- a/Makefile +++ b/Makefile @@ -163,11 +163,17 @@ else $(KIND) load docker-image $(IMG) --name $(KIND_CLUSTER_NAME) endif + +.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 envsubst '$$CATALOGD_VERSION,$$CERT_MGR_VERSION,$$KAPP_VERSION,$$MANIFEST' < scripts/install.tpl.sh | bash -s +.PHONY: kind-redeploy +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) + .PHONY: kind-cluster kind-cluster: $(KIND) #EXHELP Standup a kind cluster. -$(KIND) delete cluster --name ${KIND_CLUSTER_NAME}