Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #85 from aenix-io/master
Browse files Browse the repository at this point in the history
Fix recording events
  • Loading branch information
k8s-ci-robot authored Aug 1, 2024
2 parents 48247f2 + e01674c commit a56c8d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ func NewObjectStorageControllerWithClientset(identity string, leaderLockName str
}

rb := record.NewBroadcaster()
rb.StartRecordingToSink(&corev1.EventSinkImpl{Interface: kubeClient.CoreV1().Events("")})

extendedScheme := scheme.Scheme
if err := v1alpha1.AddToScheme(extendedScheme); err != nil {
Expand Down

0 comments on commit a56c8d1

Please sign in to comment.