cloudflare / origin-ca-issuer

cert-manager issuer for Origin CA
BSD 3-Clause "New" or "Revised" License
243 stars 62 forks source link

fix(cfapi): requeue after DB error #121

Closed terinjokes closed 3 months ago

terinjokes commented 4 months ago

The Origin CA API occasionally returns error code 1100 signaling a failure to write the certificate to the database. This reconciler intepreted this error as a permament failure, despite no local issues.

This changeset detects this error code and requeues the CertificateRequest with controller-runtime's default backoff behavior.

Fixes: #115 Fixes: #116