From a68c95860549a85061ae53db73d32de4df3c3446 Mon Sep 17 00:00:00 2001 From: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com> Date: Fri, 15 Dec 2023 01:14:10 -0500 Subject: [PATCH] Log setup of integrations (#1457) Change-Id: I36b6f54f8e26f70209f353b84d30d6d3f20c4062 --- cmd/kueue/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } }