-
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
MachineDeployment controller: expose errors #797
MachineDeployment controller: expose errors #797
Conversation
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.
Minor style comments, otherwise LGTM.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alvaroaleman, 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 |
Co-Authored-By: alvaroaleman <[email protected]>
Co-Authored-By: alvaroaleman <[email protected]>
Co-Authored-By: alvaroaleman <[email protected]>
/lgtm |
What this PR does / why we need it:
Currently the machineDeployment controller only logs errors if someone happened to decide to log a given error which is sometimes the case and sometimes not. An event on the MachineDeployment is never created.
This PR changes the behaviour to always log an error and create an even when an error happened during reconciliation
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 #
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
Release note:
/assign @vincepri