Skip to content

feature: API-SyncAgent finalizer & owner enhancement #117

@BergCyrill

Description

@BergCyrill

Feature Description

Currently it is not visible on a synced CR whether it is managed by a API-SyncAgent.
The only dependency one may see is the finalizer "syncagent.kcp.io/cleanup". This may be intentional but makes troubleshooting hard. Some annotation would be helpful here.
Additionally this digs up another improvement: When there is a related resource (source: kcp) which is referenced by multiple CRs they will use the same finalizer value concurrently. This may lead to orphaned resources if one of those CRs gets deleted (and #116 is solved).

Proposed Solution

We could:

  • add an annotation to synced resources showing ownership
  • enhance finalizers on related resources to allow multiple API-SyncAgents to reference a resource and manage cleanup dependencies

Alternative Solutions

No response

Want to contribute?

  • I would like to work on this issue.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions