From 0ce544bea931e319c7a92a2d7c80fbb9aa6086cf Mon Sep 17 00:00:00 2001 From: dd di cesare Date: Tue, 27 Aug 2024 10:05:17 +0200 Subject: [PATCH] [make] Fixing kustomize target Signed-off-by: dd di cesare --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b065d1e5..3bf2eb9f 100644 --- a/Makefile +++ b/Makefile @@ -109,8 +109,8 @@ CONTROLLER_GEN = $(shell pwd)/bin/controller-gen controller-gen: ## Download controller-gen locally if necessary. $(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.15.0) -KUSTOMIZE = $(shell pwd)/bin/kustomize -kustomize: ## Download kustomize locally if necessary. +KUSTOMIZE = $(PROJECT_DIR)/bin/kustomize +$(KUSTOMIZE): ## Download kustomize locally if necessary. $(call go-get-tool,$(KUSTOMIZE),sigs.k8s.io/kustomize/kustomize/v4@v4.5.5) YQ = $(shell pwd)/bin/yq