-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
Describe the bug
Related resources with source in kcp currently get a "syncagent.kcp.io/cleanup" finalizer to prevent orphaned objects in the service provider cluster. This finalizer is not managed and will not get removed when the synced CR gets deleted. This requires manual cleanup interactions.
Possible related to #114 but the issue seems to be the other way around.
Steps To Reproduce
- create a ConfigMap in a kcp workspace
- create a synced CR referencing this ConfigMap
- Wait for API-SyncAgent in the service provider cluster to add its finalizer on the ConfigMap
- remove the CR created in step 2
- list the finalizers on the ConfigMap
Expected Behaviour
I would expect the API-SyncAgent to remove its finalizer from the list as soon as the resource in the service provider cluster is deleted successfully.
Additional Context
No response
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.