Skip to content

Migrate from deprecated GetEventRecorderFor to GetEventRecorder #4729

@marosset

Description

@marosset

#4703 updates the controller-runtime which updated the events API (kubernetes-sigs/controller-runtime#3262) and marks the mgr.GetEventRecorderFor() method used in kuberay as deprecated

This should be replaced with mgr.GetEventRecorder() which no longer uses v1.Event structs for recording events.

#4703 added a lint exclusion to .golangci.yml which should be removed as part of this work.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions