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
Reference to the new API spec and changes
Transition the Flux ecosystem from legacy
core/v1events to the modernevents.k8s.io/v1API. The following changes have to follow a backward compatibility approach where legacy fields may be bridged to the new schema (e.g., keepInvolvedObjectregardless of being renamed, add a newRelatedObjectfield) to ensure no breaking changes for users relying on current event logs.Action Items
fluxcd/pkgto useevents.k8s.io/v1- runtime: Migrate to new Kubernentes event API pkg#1144fluxcd/notification-controllerto capture the events and populate properly the fields (backward compatible) - Migrate to new Kubernetes events API notification-controller#1267runtime/eventsfromfluxcd/pkg. Use new fieldrelatedObjectto include object's source metadata (as InvolvedObject does) andActionas mandatory field.Reference to the new API spec and changes
events.k8s.io/v1beta1deprecated since k8s 1.25)