-
Notifications
You must be signed in to change notification settings - Fork 398
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
🐛 Fix bugs in the resource controller #2126
🐛 Fix bugs in the resource controller #2126
Conversation
Needs better commit message. Are these two changes or one? |
or three? :) |
64572d6
to
fdf9025
Compare
Signed-off-by: David Festal <dfestal@redhat.com>
fdf9025
to
0279660
Compare
0279660
to
08a9dde
Compare
Signed-off-by: David Festal <dfestal@redhat.com>
08a9dde
to
70bd648
Compare
Some nits about better go docs. Don't document the obvious. Document more high level what the loops do instead of every line. /lgtm |
70bd648
to
8075087
Compare
8075087
to
6c92e5f
Compare
Signed-off-by: David Festal <dfestal@redhat.com>
6c92e5f
to
98f149d
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sttts 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 |
@davidfestal is there any thing for QE to validate here ? Any user facing change or functionality impact that we need to look at ? thanks !! |
Signed-off-by: David Festal dfestal@redhat.com
Summary
This PR fixes several bugs in the resource controller:
RequestState
label to Sync for aSyncTarget
when the namespace already has the deletion annotation for thisSyncTarget
. It doesn't make sense to start syncing a resource to a SyncTarget while the intent already expressed on the namespace is to delete all resources from thisSyncTarget
computePlacement
function.See the individual commits for more information
Related issue(s)
Bugs spotted while debugging the Syncer Virtual Transformations e2e test