diff --git a/pkg/controller/certificates/certificate_controller.go b/pkg/controller/certificates/certificate_controller.go index 927da7979bc..e1fbd420142 100644 --- a/pkg/controller/certificates/certificate_controller.go +++ b/pkg/controller/certificates/certificate_controller.go @@ -167,10 +167,6 @@ func (cc *CertificateController) enqueueCertificateRequest(obj interface{}) { 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 { startTime := time.Now() defer func() {