mirror of
https://github.com/lukaszraczylo/jobs-manager-operator.git
synced 2026-12-06 12:04:29 +00:00
controller-runtime v0.25.3 deprecates scheme.Builder and Manager.GetEventRecorderFor, so staticcheck SA1019 fails the shared PR checks on every dependency PR. - build SchemeBuilder from runtime.NewSchemeBuilder + addKnownTypes, which keeps the api package free of controller-runtime (the reason Builder was deprecated) and registers the same types - record events through the events.k8s.io recorder from GetEventRecorder; the reason already names the transition, so action stays "Reconcile" Co-authored-by: Bug Fixer <[email protected]>