Skip to content

Migrate event recorder to fluxcd/pkg/runtime/events.Recorder#1621

Draft
adri1197 wants to merge 1 commit intofluxcd:mainfrom
adri1197:event-recorder
Draft

Migrate event recorder to fluxcd/pkg/runtime/events.Recorder#1621
adri1197 wants to merge 1 commit intofluxcd:mainfrom
adri1197:event-recorder

Conversation

@adri1197
Copy link

@adri1197 adri1197 commented Mar 14, 2026

  • Replace kuberecorder.EventRecorder with events.Recorder to support structured event metadata including source object and action type
  • Upgrade event API from event/v1beta1 to event/v1
  • Add action parameter (Reconciled, Failed, Waiting, Applied, Deleted, Progressing) to all event calls for richer event semantics
  • Pass source reference through reconcile, apply, prune, checkHealth, and finalize methods
  • Update tests to use events.Recorder.

Closes fluxcd/flux2#5761

- Replace kuberecorder.EventRecorder with events.Recorder to support
  structured event metadata including source object and action type
- Upgrade event API from event/v1beta1 to event/v1
- Add action parameter (Reconciled, Failed, Waiting, Applied, Deleted,
  Progressing) to all event calls for richer event semantics
- Pass source reference through reconcile, apply, prune, checkHealth,
  and finalize methods
- Update tests to use events.Recorder

Signed-off-by: Adrian Fernandez De La Torre <adri1197@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implementation new K8s Events API - v1

1 participant