From 93ae7046e86b9508650ed9ffbd9ebc87e2b343a6 Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Thu, 21 Mar 2024 14:54:38 +0000 Subject: [PATCH] peerpod-ctrl: Make undeploy depend on kustomize target the `undeploy` target is using the `KUSTOMIZE` binary, but it hasn't necessarily been created so add the kustomize target to it that creates Fixes: 1755 Signed-off-by: stevenhorsman --- src/peerpod-ctrl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/peerpod-ctrl/Makefile b/src/peerpod-ctrl/Makefile index 74289aa37..f2e7cab34 100644 --- a/src/peerpod-ctrl/Makefile +++ b/src/peerpod-ctrl/Makefile @@ -178,7 +178,7 @@ deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in $(KUSTOMIZE) build config/default | kubectl apply -f - .PHONY: undeploy -undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion. +undeploy: kustomize ## Undeploy controller from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion. $(KUSTOMIZE) build config/default | kubectl delete --ignore-not-found=$(ignore-not-found) -f - ##@ Build Dependencies