Skip to content

Commit

Permalink
Upgrade controller-gen to generate v1 CRDs
Browse files Browse the repository at this point in the history
  • Loading branch information
patoarvizu committed Feb 20, 2022
1 parent 3d5622e commit 4095eac
Show file tree
Hide file tree
Showing 3 changed files with 471 additions and 473 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ ifeq (, $(shell which controller-gen))
CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\
cd $$CONTROLLER_GEN_TMP_DIR ;\
go mod init tmp ;\
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.3.0 ;\
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.4.0 ;\
rm -rf $$CONTROLLER_GEN_TMP_DIR ;\
}
CONTROLLER_GEN=$(GOBIN)/controller-gen
Expand Down
Loading

0 comments on commit 4095eac

Please sign in to comment.