-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🏃 bumped up CR to 0.3.0 and CT to 0.2.2 version
This PR also changes the way controller-gen is installed using Makefile. KBProject uses controller-runtime@v0.3.0 that uses k8s 1.15 packages. When you run 'make all' to build the project and if you don't have controller-gen installed on your system, Makefile's controller-gen target will install controller-gen@v0.2.2 using 'go get'. 'go get' will update the Go.mod file to use k8s 1.16 ApiMachinery pkg because controller-tool's v0.2.2 is using k8s 1.16 pkgs. There are two ways to fix this problem: 1. Ship controller-gen binaries for each OS and Makefile target should use the appropriate binary. 2. Run 'go get' in a temporary directory so that it doesn't KB Project's Go.mod This PR implements the second approach. Error Reported: pkg/mod/sigs.k8s.io/controller-runtime@v0.3.0/pkg/client/apiutil/apimachinery.go:77:30: undefined: serializer.DirectCodecFactory
- Loading branch information
Showing
9 changed files
with
236 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/book/src/cronjob-tutorial/testdata/project/api/v1/zz_generated.deepcopy.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
262 changes: 202 additions & 60 deletions
262
docs/book/src/cronjob-tutorial/testdata/project/go.sum
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters