From 2b7e248b4021943295d6a315e588c67211f538e0 Mon Sep 17 00:00:00 2001 From: Yeray Borges Date: Thu, 8 Feb 2024 10:02:56 +0000 Subject: [PATCH] [274] Add logger category for the SDK manager --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 48e1816b..ceb2625b 100644 --- a/main.go +++ b/main.go @@ -24,7 +24,6 @@ import ( "go.uber.org/zap/zapcore" "os" goruntime "runtime" - // Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.) // to ensure that exec-entrypoint and run can make use of them. _ "k8s.io/client-go/plugin/pkg/client/auth" @@ -107,6 +106,7 @@ func main() { Namespace: namespace, HealthProbeBindAddress: probeAddr, LeaderElection: false, + Logger: ctrl.Log.WithName("manager"), }) if err != nil { setupLog.Error(err, "unable to start manager")