-
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
reconciler/workload/resource: remove syncer finalizer when SyncTarget is gone #1293
reconciler/workload/resource: remove syncer finalizer when SyncTarget is gone #1293
Conversation
@sttts: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I guess this is related to #1353 that I just filed |
f01393e
to
9ee92ff
Compare
9ee92ff
to
c65c674
Compare
SyncTargetsBySyncTargetKey = "SyncTargetsBySyncTargetKey" | ||
) | ||
|
||
func IndexSyncTargetsBySyncTargetKey(obj interface{}) ([]string, error) { |
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.
@ncdc is our plan to move all indexers here? I think I would like that.
c65c674
to
654a4b7
Compare
654a4b7
to
f5d722a
Compare
f5d722a
to
1b6bfe5
Compare
/retest |
FTR this would be done by the Virtual Workspace in the context of the 1st Syncer Virtual Workspace Transformation PR, which manages the deletion process previously managed by the Syncer, and also the cleanup of related annotations / labels. |
/lgtm |
/approve |
[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 |
When a SyncTarget is deleted, the syncer loses the ability to remove its finalizer from objects because the VW will not let it see its objects. This PR will make the workload resource controller do this by checking existence of the SyncTargets.
Fixes #1353