diff --git a/controller/controller.go b/controller/controller.go index 5c698d4e..1126e67c 100644 --- a/controller/controller.go +++ b/controller/controller.go @@ -151,6 +151,8 @@ func NewObjectStorageControllerWithClientset(identity string, leaderLockName str } rb := record.NewBroadcaster() + rb.StartLogging(klog.Infof) + rb.StartRecordingToSink(&corev1.EventSinkImpl{Interface: kubeClient.CoreV1().Events("")}) extendedScheme := scheme.Scheme if err := v1alpha1.AddToScheme(extendedScheme); err != nil {