-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[release-1.11] 🌱 e2e: allow usage of v1beta1 and v1beta2 for MachinePools in clusterctl upgrade #13023
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
base: release-1.11
Are you sure you want to change the base?
[release-1.11] 🌱 e2e: allow usage of v1beta1 and v1beta2 for MachinePools in clusterctl upgrade #13023
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
test/e2e/clusterctl_upgrade.go
Outdated
| var infraMachinePool *unstructured.Unstructured | ||
|
|
||
| // Fallback to v1beta1's objectReference | ||
| if clusterv1.GroupVersion.Version == "v1beta1" { |
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.
| if clusterv1.GroupVersion.Version == "v1beta1" { | |
| if coreCAPIStorageVersion == "v1beta1" { |
Shouldn't this be like this instead?
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.
whoop, yeah ! good catch...
|
/label tide/merge-method-squash |
|
Unrelated flake: /retest |
|
/retest |
What this PR does / why we need it:
Required for:
Partial cherry-pick of: #12723
Cherry-picks commits:
This is required for CAPZ to bump to v1.11 without loosing test-coverage.
It has an additional test for clusterctl upgrade which updates CAPZ while having CAPI at v1.11 before and after.
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 #
/area e2e-testing