-
Notifications
You must be signed in to change notification settings - Fork 1.4k
⚠️ Update controller-runtime and client-go #1812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⚠️ Update controller-runtime and client-go #1812
Conversation
|
Welcome @avorima! |
|
Hi @avorima. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/hold |
|
Are there any runtime implications for this update? For example does it affect the minimum version of k8s we can run a management cluster on? |
|
/ok-to-test |
|
@ncdc Sure. It seems I underestimated the scope of a version bump, there's still a bit of work to be done. I'll try to get the checks to pass. |
fb735da to
b6e8073
Compare
Makefile
Outdated
| generate-go: $(CONTROLLER_GEN) $(CONVERSION_GEN) ## Runs Go related generate targets | ||
| $(CONTROLLER_GEN) \ | ||
| object:headerFile=./hack/boilerplate/boilerplate.generatego.txt \ | ||
| crd:preserveUnknownFields=false \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't have this line here - this invocation of controller-gen is to generate the DeepCopy go functions. We generate CRDs in the generate-manifests target.
| $(CONTROLLER_GEN) \ | ||
| paths=./bootstrap/kubeadm/api/... \ | ||
| crd:trivialVersions=true \ | ||
| crd:trivialVersions=true,preserveUnknownFields=false \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vincepri can we merge this controller-gen call with the one right above?
|
@avorima rebase needed - thanks! |
- sigs.k8s.io/controller-runtime v0.4.0 - k8s.io/client-go kubernetes-1.16.0
b6e8073 to
626cfc4
Compare
|
/hold cancel @avorima FYI, this only changes the master branch, which is for the upcoming v0.3.0 release. We don't plan to backport this to the release-0.2 branch. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: avorima, ncdc The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@ncdc That's fine. I can work around the import issue now, which was my main goal. Thanks! |
What this PR does / why we need it:
Projects created by kubebuilder v2.2.0 can't use CAPI as dependency.
Updating to
sigs.k8s.io/[email protected]andk8s.io/[email protected]fixes this issue.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #