-
Notifications
You must be signed in to change notification settings - Fork 1.4k
✨ Cleanup exp packages #12651
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
✨ Cleanup exp packages #12651
Conversation
5351815
to
bb8fc8b
Compare
eb95322
to
d7fd91e
Compare
Signed-off-by: Stefan Büringer [email protected]
d7fd91e
to
35b28c4
Compare
/test pull-cluster-api-e2e-main |
@sbueringer: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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-sigs/prow repository. I understand the commands that are listed here. |
Looks good to me @sbueringer. /lgtm |
LGTM label has been added. Git tree hash: c31ad7f4d756e396f7309e5e94de9622fa2b31ac
|
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.
Thx!
/lgtm
Congrats on reducing the CAPI maintenance burden @sbueringer and to @mboersma @willie-yao @richardcase for your work over several years stabilizing MachinePools in preparation for this! /lgtm |
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.
Happy to see another cleanup to the code structure, thanks!
I assume we will get rid of the /exp package under test/infrastructure/docker in a follow up PR, is that right?
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.
Wondering if we should align index management for extension config to what we are doing for other indexes, and move this file + the corresponding test to api/core/v1beta2/index
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.
I think I wouldn't export that index and make it part of our API. I'm also not sure who would be consuming that.
Additionally the index is a purely client-side thing anyway so everyone can implement the same or a different index on their side if they want to.
For us this index only makes sense because we inject the caBundle. I'm not aware of use cases for anyone else to be honest
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.
As discussed, we should move indexes out of the API package, ideally somewhere internal (unless it is required for using some public util func), and then move also the ExtensionConfig index in the target location once it is defined
Considering this, it is ok the keep ExtensionConfig indexes where they are for this PR
In general, we should yes. But I think the effort is higher and the benefit much lower (we barely touch any of that code) |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini 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 |
Just to clarify, this was only a code cleanup as we wanted to get rid of exp packages independent of feature state. This is not a sign of graduation of MachinePools. That is tracked and discussed here #9005, and frankly, it is not looking good. |
There has been a small amount of progress, need to do more and get more help. |
Signed-off-by: Stefan Büringer [email protected]
What this PR does / why we need it:
As discussed a few times, we want to cleanup our exp packages. This PR moves MachinePool, ExtensionConfig and IPAM webhooks/controllers into their correct packages
(There are no plans to backport this into release-1.11)
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 #