Skip to content

feature: Mirror service cluster events into kcp #88

@xrstf

Description

@xrstf

Feature Description

This is an extension to #17. The agent can already create events that relate to its own operation.

What would be nice is if the agent was able to mirror all events that happen on the service cluster and relate to objects it has synced down, up into kcp.

Proposed Solution

For this the agent would roughly

  • subscribe to all events in the service cluster
  • filter out events for uninteresting objects
  • figure out what the origin object is (in kcp) for every interesting object on the service cluster
  • copy the event

Since we cannot control the source of events (any random 3rd party operator could create them), the agent might need to have a sort of allowlist for event types that it mirrors (if so, most likely configured in the PublishedResource).

This might all be tricky to achieve, since the agent might need to get the object for every event, and it simply doesn't have permissions to get random objects in the service cluster.

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