mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
add logging before kubelet waiting for cert
during bootstrapping.
This commit is contained in:
parent
3fca0a6e41
commit
b2bb3dfb59
@ -352,6 +352,7 @@ func requestNodeCertificate(client certificatesv1beta1.CertificateSigningRequest
|
|||||||
ctx, cancel := context.WithTimeout(context.Background(), 3600*time.Second)
|
ctx, cancel := context.WithTimeout(context.Background(), 3600*time.Second)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
|
klog.V(2).Infof("Waiting for client certificate to be issued")
|
||||||
return csr.WaitForCertificate(ctx, client, req)
|
return csr.WaitForCertificate(ctx, client, req)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user