-
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
🌱 Move MachineSet patching to a defer call #3904
🌱 Move MachineSet patching to a defer call #3904
Conversation
Skipping CI for Draft Pull Request. |
aafcd97
to
e0f0144
Compare
I went down another rabbit hole of using the Held those changes back since there were many other changes (irrelevant to this PR) required for that. I plan to open a WIP PR for that later for further discussion. The same format could be useful for MachinePools and maybe MachineDeployments too. |
4e7252f
to
c825f89
Compare
/assign @vincepri |
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.
/hold
Holding for others to take a look as well
/milestone v0.4.0 Could we retitle this PR to something like "MachineSet controller now patches in a defer call" or similar? |
Thanks for the review @vincepri I agree with the comment about merging the |
/test pull-cluster-api-e2e-main |
/retitle Move MachineSet patching to a defer call |
This is to align the machineset controller with the other controllers which defer the patching of the object to the end of their reconcile loop. Signed-off-by: Sagar Muchhal <[email protected]> Co-authored-by: Vince Prignano <[email protected]>
060fdfb
to
2cd9823
Compare
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.
/hold cancel
/lgtm
/assign @detiber @CecileRobertMichon
/approve |
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini, vincepri 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 |
What this PR does / why we need it:
This patch refactors the implementation of the machinset controller to follow the new conventions and patterns.
Which issue(s) this PR fixes:
Fixes #1689