-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🐛 Restore v1alpha3/v1alpha4 conversion to fix SSA issue & add e2e test coverage #10147
🐛 Restore v1alpha3/v1alpha4 conversion to fix SSA issue & add e2e test coverage #10147
Conversation
/test pull-cluster-api-e2e-main |
2ce619a
to
d30cb88
Compare
/test ? |
@sbueringer: The following commands are available to trigger required jobs:
The following commands are available to trigger optional jobs:
Use
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. |
/test pull-cluster-api-e2e-conformance-ci-latest-main |
/test pull-cluster-api-e2e-main |
@sbueringer: The following tests 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/test-infra repository. I understand the commands that are listed here. |
This reverts commit de4b652.
Signed-off-by: Stefan Büringer [email protected]
Signed-off-by: Stefan Büringer [email protected]
Signed-off-by: Stefan Büringer [email protected]
Signed-off-by: Stefan Büringer [email protected]
Signed-off-by: Stefan Büringer [email protected]
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.
Awesome!
This is a big PR and a lot of work in such a short time and I would like to praise a few things make this PR to stand out
- Restoring APIs in internal packages really helps in keeping the public API surfaces as minimal and possible
- Adding E2e test validating a double clusterctl upgrade allows us to make this change with confidence (and we will benefit from this as well down the line when working to a more sophisticated solution)
- The trick to force controller manager restart is a real piece of art
just a few nits, nothing really blocking
/test pull-cluster-api-e2e-main |
/lgtm |
LGTM label has been added. Git tree hash: fd27c37fb7323e2fc2188bf2875f79388daa56fe
|
[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 |
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 haven't done a full review of this -but I'm trying to understand the change and the root cause.
Do we need to keep apiVersions around pretty much indefinitely - but with served: false
in order to keep the conversion webhooks working?
At least until we can be sure that all apiVersions in the managed fields have been updated?
Yup. That's exactly it on a high-level. Fabrizio will share more details in the office hours (please check the agenda the information is already there, we'll update the issue later accordingly as well). This PR and its cherry-pick are only meant as a temporary solution until we figure out the right way to handle this problem. The idea was to only restore the minimal amount necessary to get conversion working again (which is the reason why we restored v1alpha3/v1alpha4 under internal). |
P.S. Happy to follow-up if you have further findings |
P.S.2 Sorry for the short time frame to review. Trying to get this fixed up before I'm going on PTO on Friday and in time so we have some time in CI before the 1.6 patch release. |
What this PR does / why we need it:
This PR:
More details on the issue soon.
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 #10051