mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
Merge pull request #92983 from iotty/csr.clean
[pkg/controller/certificates]: remove staled func comments
This commit is contained in:
commit
215d2c6bce
@ -167,10 +167,6 @@ func (cc *CertificateController) enqueueCertificateRequest(obj interface{}) {
|
|||||||
cc.queue.Add(key)
|
cc.queue.Add(key)
|
||||||
}
|
}
|
||||||
|
|
||||||
// maybeSignCertificate will inspect the certificate request and, if it has
|
|
||||||
// been approved and meets policy expectations, generate an X509 cert using the
|
|
||||||
// cluster CA assets. If successful it will update the CSR approve subresource
|
|
||||||
// with the signed certificate.
|
|
||||||
func (cc *CertificateController) syncFunc(key string) error {
|
func (cc *CertificateController) syncFunc(key string) error {
|
||||||
startTime := time.Now()
|
startTime := time.Now()
|
||||||
defer func() {
|
defer func() {
|
||||||
|
Loading…
Reference in New Issue
Block a user