-
Notifications
You must be signed in to change notification settings - Fork 722
Open
Description
Transition the Flux ecosystem from legacy core/v1 events to the modern events.k8s.io/v1 API. The following changes have to follow a backward compatibility approach where legacy fields may be bridged to the new schema (e.g., keep InvolvedObject regardless of being renamed, add a new RelatedObject field) to ensure no breaking changes for users relying on current event logs.
Action Items
- Update
fluxcd/pkgto useevents.k8s.io/v1- runtime: Migrate to new Kubernentes event API pkg#1144 - Update
fluxcd/notification-controllerto capture the events and populate properly the fields (backward compatible) - Migrate to new Kubernetes events API notification-controller#1267- Adapt the event receiver to handle the events.k8s.io/v1 schema.
- Update spec/v1beta3/events.md to document new fields.
- Update all controllers using the changes done in
runtime/eventsfromfluxcd/pkg. Use new fieldrelatedObjectto include object's source metadata (as InvolvedObject does) andActionas mandatory field.- Mandatory controllers
- Helm-Controller
- Kustomize-Controller Migrate event recorder to fluxcd/pkg/runtime/events.Recorder kustomize-controller#1621
- Source-Controller Migrate event recorder to event/v1 source-controller#2011
- Optional controllers
- Source-Watcher
- Image-Automation-Controller
- Image-Reflector-Controller
- Mandatory controllers
Reference to the new API spec and changes
- API Deprecation Guide (
events.k8s.io/v1beta1deprecated since k8s 1.25) - KEP-383: New Event API GA Graduation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels