-
Notifications
You must be signed in to change notification settings - Fork 1.4k
🌱 Refactor MachineTemplateUpToDate #12811
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
🌱 Refactor MachineTemplateUpToDate #12811
Conversation
|
/test pull-cluster-api-e2e-blocking-main |
|
/test pull-cluster-api-e2e-main |
e5b067b to
3c535ac
Compare
|
/test pull-cluster-api-e2e-main |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer 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 |
|
LGTM label has been added. Git tree hash: 2576dbd5c2e9ae9f11ad8c03557a0b39f1798bf2
|
What this PR does / why we need it:
This PR refactor MachineTemplateUpToDate to surface info that will be require when we are going to introduce the "canUpgrade in-place" check.
On top of this changes, also the FindNewMachineSet / FindOldMachineSets func have been refactored to allow an easier consumption of the output of MachineTemplateUpToDate, as well as the integration in the same set of NotUpToDateResults of the output of the decision about rolloutAfter.
(we also agreed to proceed with small incremental changes given the complexity of this part of the codebase)
Which issue(s) this PR fixes :
Part of #12291
/area machinedeployment