diff --git a/cmd/pve-csr-approver-manager/main.go b/cmd/pve-csr-approver-manager/main.go index 87c12a3..0e6e714 100644 --- a/cmd/pve-csr-approver-manager/main.go +++ b/cmd/pve-csr-approver-manager/main.go @@ -116,12 +116,12 @@ func main() { if err = (&approver.CSRReconciler{ Client: mgr.GetClient(), - Log: ctrl.Log.WithName("controllers").WithName("CSR"), + Log: ctrl.Log.WithName("approver"), Scheme: mgr.GetScheme(), PVEClient: pveClient, CSRClient: typedcertificatesv1beta1.NewForConfigOrDie(rcfg), }).SetupWithManager(mgr, controller.Options{MaxConcurrentReconciles: csrConcurrency}); err != nil { - setupLog.Error(err, "unable to create controller", "controller", "CSR") + setupLog.Error(err, "unable to create controller", "controller", "approver") os.Exit(1) } if err := mgr.AddReadyzCheck("ping", healthz.Ping); err != nil {