Skip to content

Commit

Permalink
Upgrade controller-gen to v0.4.0 and change CRDs apiVersion to v1 (#218)
Browse files Browse the repository at this point in the history
Signed-off-by: santosh <[email protected]>
  • Loading branch information
bhiravabhatla authored Mar 3, 2021
1 parent 0eec32d commit ab48ea1
Show file tree
Hide file tree
Showing 4 changed files with 1,702 additions and 1,670 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,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 ab48ea1

Please sign in to comment.