From 4aa220f64b72d8317c26c0fb60a9d6a79d35c0bc Mon Sep 17 00:00:00 2001 From: Antonin Stefanutti Date: Tue, 27 Jun 2023 10:09:48 +0200 Subject: [PATCH] fix: Update MCAD version when installing CRDs --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index b4844103f..ef3a05be2 100644 --- a/Makefile +++ b/Makefile @@ -242,7 +242,9 @@ endif .PHONY: install install: manifests kustomize ## Install CRDs into the K8s cluster specified in ~/.kube/config. + $(KUSTOMIZE) fn run config/crd/mcad --image gcr.io/kpt-fn/apply-setters:v0.2.0 -- MCAD_CRD=$(MCAD_CRD) $(KUSTOMIZE) build config/crd | kubectl apply -f - + git restore config/* .PHONY: uninstall uninstall: manifests kustomize ## Uninstall CRDs from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion.