-
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
🌱 Add MachinePools to Runtime SDK and Rollout tests #9703
Conversation
/test pull-cluster-api-e2e-full-main |
/test pull-cluster-api-e2e-full-main |
/retest |
/test pull-cluster-api-e2e-full-main |
Some tests are failing |
4564e25
to
1908aa2
Compare
1908aa2
to
c737c7a
Compare
/test pull-cluster-api-e2e-full-main |
@fabriziopandini We noticed a bug in how we check if the bootstrap config field is set as MachinePools contain a bootstrap config and not a template, but the parameter |
/retest |
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
Nice one! This should unblock the MachinePool Machines PR as well.
@@ -247,18 +247,6 @@ func clusterUpgradeWithRuntimeSDKSpec(ctx context.Context, inputGetter func() cl | |||
}, | |||
}) | |||
|
|||
// Only attempt to upgrade MachinePools if they were provided in the template. | |||
if len(clusterResources.MachinePools) > 0 && workerMachineCount > 0 { |
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.
Nice cleanup!
LGTM label has been added. Git tree hash: 00eca5ab45918fa32db3e615bdfd1308d69a3d19
|
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon 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.
Nice catch on the upgrade / self-hosted / Runtime SDK tests.
I think we need a follow-up PR to make the new coverage fully functional
Got it, will make a separate PR ASAP to incorporate these changes. Thanks for the suggestions! |
Thank you :) Top of my list for reviews tomorrow |
What this PR does / why we need it:
This PR adds MachinePools to runtime SDK and rollout tests for ClusterClass. This will help unblock MachinePoolMachines which is affected by these tests not accounting for MachinePools in the quickstart spec. #8842
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 part of #5991
/area testing