mirror of
https://github.com/kubernetes/client-go.git
synced 2025-07-05 03:06:23 +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. Kubernetes-commit: b2677b1e572ae1cd8b823683e88005b7857d8938
This commit is contained in:
parent
83e04303df
commit
38dc9a8fb0
@ -134,8 +134,8 @@ func (c *dynamicClientCert) Run(stopCh <-chan struct{}) {
|
||||
defer utilruntime.HandleCrash()
|
||||
defer c.queue.ShutDown()
|
||||
|
||||
klog.Infof("Starting client certificate rotation controller")
|
||||
defer klog.Infof("Shutting down client certificate rotation controller")
|
||||
klog.V(3).Infof("Starting client certificate rotation controller")
|
||||
defer klog.V(3).Infof("Shutting down client certificate rotation controller")
|
||||
|
||||
go wait.Until(c.runWorker, time.Second, stopCh)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user