Fleet already generates events related to git operations, such as received commits.
However, once git operations have succeeded, nothing is reported on the state of deployments.
Since the unit of deployment on a given target cluster is a bundle deployment, event generation could be added to the bundle deployment controller (part of upstream Fleet controllers), reporting at least failed deployments.
While this could lead to the Kubernetes API server being flooded with calls on setups involving large numbers of bundle deployments, client-go supports event aggregation with a configurable time window. That aggregation works against events with different messages, which would fit our use case.
Acceptance criteria
This could be extended to successful bundle deployments too.
Fleet already generates events related to git operations, such as received commits.
However, once git operations have succeeded, nothing is reported on the state of deployments.
Since the unit of deployment on a given target cluster is a bundle deployment, event generation could be added to the bundle deployment controller (part of upstream Fleet controllers), reporting at least failed deployments.
While this could lead to the Kubernetes API server being flooded with calls on setups involving large numbers of bundle deployments, client-go supports event aggregation with a configurable time window. That aggregation works against events with different messages, which would fit our use case.
Acceptance criteria
This could be extended to successful bundle deployments too.