Merge pull request #86458 from jiahuif/bootstrap-cert-logging

add logging when kubelet is waiting for cert
This commit is contained in:
Kubernetes Prow Robot 2020-01-27 11:52:43 -08:00 committed by GitHub
commit 6ecdd22978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -352,6 +352,7 @@ func requestNodeCertificate(client certificatesv1beta1.CertificateSigningRequest
ctx, cancel := context.WithTimeout(context.Background(), 3600*time.Second)
defer cancel()
klog.V(2).Infof("Waiting for client certificate to be issued")
return csr.WaitForCertificate(ctx, client, req)
}