diff --git a/cmd/kueue/main.go b/cmd/kueue/main.go index d7751be21b..7bab0456ee 100644 --- a/cmd/kueue/main.go +++ b/cmd/kueue/main.go @@ -257,7 +257,6 @@ func setupControllers(mgr ctrl.Manager, cCache *cache.Cache, queues *queue.Manag } err := jobframework.ForEachIntegration(func(name string, cb jobframework.IntegrationCallbacks) error { log := setupLog.WithValues("jobFrameworkName", name) - if isFrameworkEnabled(cfg, name) { gvk, err := apiutil.GVKForObject(cb.JobType, mgr.GetScheme()) if err != nil { @@ -267,7 +266,7 @@ func setupControllers(mgr ctrl.Manager, cCache *cache.Cache, queues *queue.Manag if !meta.IsNoMatchError(err) { return err } - log.Info("No matching API server for job framework, skip to create controller and webhook") + log.Info("No matching API in the server for job framework, skipped setup of controller and webhook") } else { if err = cb.NewReconciler( mgr.GetClient(), @@ -296,6 +295,7 @@ func setupControllers(mgr ctrl.Manager, cCache *cache.Cache, queues *queue.Manag log.Error(err, "Unable to create webhook") return err } + log.Info("Set up controller and webhook for job framework") return nil } }