Skip to content

Commit e04fbfa

Browse files
astefanuttiopenshift-merge-robot
authored andcommitted
fix: Update MCAD version when installing CRDs
1 parent 2fa3f90 commit e04fbfa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,9 @@ endif
242242

243243
.PHONY: install
244244
install: manifests kustomize ## Install CRDs into the K8s cluster specified in ~/.kube/config.
245+
$(KUSTOMIZE) fn run config/crd/mcad --image gcr.io/kpt-fn/apply-setters:v0.2.0 -- MCAD_CRD=$(MCAD_CRD)
245246
$(KUSTOMIZE) build config/crd | kubectl apply -f -
247+
git restore config/*
246248

247249
.PHONY: uninstall
248250
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.

0 commit comments

Comments
 (0)