cert-manager: certificate never appears ready
kubectl get cert
NAME READY SECRET AGE
example.domain.com False example-tls 11m
The certificate is actually working but the status is not updated.
Logs show this in a perpetual loop:
kubectl -n cert-manager logs -l app=cert-manager
I1115 23:55:41.521223 1 sync.go:466] cert-manager/controller/certificates "level"=0 "msg"="CertificateRequest contains a valid certificate for issuance. Issuing certificate..." "related_resource_kind"="CertificateRequest" "related_resource_name"="example.domain.com-2545306439" "related_resource_namespace"="namespace1" "resource_kind"="Certificate" "resource_name"="example.domain.com" "resource_namespace"="namespace1"
I1115 23:55:41.720351 1 controller.go:135] cert-manager/controller/certificates "level"=0 "msg"="finished processing work item" "key"="namespace1/example.domain.com"
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 15 (4 by maintainers)
This issue still seems to exist for me on v0.13.0
I am having the same issue on v0.12 using DNS01 verification with acmeDNS and Istio v1.4. The endless loop described above is spamming our logs with about 30 lines/sec, even though the certificate is already working and valid:
EDIT: The issue seems to be that the controller is waiting for the CertificateRequest to complete, even though the CertificateRequest already states
Certificate fetched from issuer successfully, but the Certificate itself statesWaiting for CertificateRequest [...] to complete. If you need any additional info / log outputs etc. let me know, I am happy to help.