diff --git a/pkg/addonmanager/controllers/registration/controller.go b/pkg/addonmanager/controllers/registration/controller.go index f1888e3ec..28a0c6016 100644 --- a/pkg/addonmanager/controllers/registration/controller.go +++ b/pkg/addonmanager/controllers/registration/controller.go @@ -99,6 +99,7 @@ func (c *addonRegistrationController) sync(ctx context.Context, syncCtx factory. // wait until the mca's ownerref is set. if !utils.IsOwnedByCMA(managedClusterAddonCopy) { + klog.Warningf("OwnerReferences is not set for %q", key) return nil }