-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
🌱 Audit patch withOwnedConditions #11396
🌱 Audit patch withOwnedConditions #11396
Conversation
@@ -300,7 +307,18 @@ func (r *Reconciler) reconcile(ctx context.Context, logger logr.Logger, cluster | |||
} | |||
errList := []error{} | |||
for _, t := range append(healthy, unhealthy...) { |
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.
Not new with this PR, but I'm really confused why we are patching all Machines twice (if I'm reading this correctly)
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.
My current understanding is that we are patching here only if remediation is not allowed (and we patch both unhealthy and healthy machines).
The other two patch machines are for when remediation is allowed, one for healthy machines, the other for unhealthy.
But if you want we can take a deeper look together
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.
Let's take a look together later. To me it looks like some of these patches are always no-ops
/lgtm /hold |
LGTM label has been added. Git tree hash: 4cc30970faf17d5547a3c9e7e8df4ea04be060b8
|
[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 |
/hold cancel |
What this PR does / why we need it:
/area provider/core