From cc4d429aa134fe2f4384c2d9164a4793f2cb1154 Mon Sep 17 00:00:00 2001 From: khewonc <39867936+khewonc@users.noreply.github.com> Date: Fri, 13 Sep 2024 09:18:04 -0400 Subject: [PATCH] Remove "v" in image tag (#1403) (#1415) * Remove v in image tag * Review suggestions --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9593c1905..e4c930714 100644 --- a/Makefile +++ b/Makefile @@ -132,7 +132,7 @@ uninstall: manifests $(KUSTOMIZE) ## Uninstall CRDs from a cluster .PHONY: deploy deploy: manifests $(KUSTOMIZE) ## Deploy controller in the configured Kubernetes cluster in ~/.kube/config - cd config/manager && $(ROOT)/$(KUSTOMIZE) edit set image controller=${IMG} + cd config/manager && $(ROOT)/$(KUSTOMIZE) edit set image controller=$(subst operator:v,operator:,$(IMG)) $(KUSTOMIZE) build $(KUSTOMIZE_CONFIG) | kubectl apply --force-conflicts --server-side -f - .PHONY: undeploy