mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
client-go: use klog.V(3) for the cert-rotation controller start/stop
Introduce a verbosity level for the start and stop notifications, so that regular calls to commands such as: "kubectl auth ..." would only contain the "yes" / "no" output.
This commit is contained in:
parent
861c918a44
commit
b2677b1e57
@ -134,8 +134,8 @@ func (c *dynamicClientCert) Run(stopCh <-chan struct{}) {
|
|||||||
defer utilruntime.HandleCrash()
|
defer utilruntime.HandleCrash()
|
||||||
defer c.queue.ShutDown()
|
defer c.queue.ShutDown()
|
||||||
|
|
||||||
klog.Infof("Starting client certificate rotation controller")
|
klog.V(3).Infof("Starting client certificate rotation controller")
|
||||||
defer klog.Infof("Shutting down client certificate rotation controller")
|
defer klog.V(3).Infof("Shutting down client certificate rotation controller")
|
||||||
|
|
||||||
go wait.Until(c.runWorker, time.Second, stopCh)
|
go wait.Until(c.runWorker, time.Second, stopCh)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user