-
Notifications
You must be signed in to change notification settings - Fork 87
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
🌱 Use k8s apimachinery scheme builder instead of controller-runtime scheme builder #1360
Conversation
…eme builder Signed-off-by: Kashif Khan <kashif.khan@est.tech>
/test-ubuntu-integration-main |
/keep-test-ubuntu-integration-main |
1 similar comment
/keep-test-ubuntu-integration-main |
/test-ubuntu-integration-main |
/override keep-test-ubuntu-integration-main |
@kashifest: Overrode contexts on behalf of kashifest: keep-test-ubuntu-integration-main In response to this:
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. |
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lentzi90 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 |
I see this did not affect the go modules. Should we update/clean them also, or do we still depend on the controller-runtime scheme builder is some place? |
As it is not affecting the go modules and test with gomod is passing. We can take this in. |
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.
/lgtm
Yes, I wondered the same. My understanding is we didnt directly imported any module named |
This is recommend for the CAPI providers as mentioned the v1.5 to v1.6 migration guide: https://cluster-api.sigs.k8s.io/developer/providers/migrations/v1.5-to-v1.6#suggested-changes-for-providers.
The original issue was discussed in kubernetes-sigs/cluster-api#9011. The issue is using controller-runtime based scheme builder causes a lot of unnecessary dependancies added in go modules. Compared to that apimachinery was chosen as a better alternative.