CertificateRequest status extension #2289
Labels
area/api
Indicates a PR directly modifies the 'pkg/apis' directory
kind/feature
Categorizes issue or PR as related to a new feature.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Milestone
Is your feature request related to a problem? Please describe.
The CertificateRequest status currently supports only these Reason values:
The
Failed
value is used to indicate errors when issuing the certificate which are always considered to be an intermittent, so the CertificateRequest is always re-tried after 1 hour.However, when clearing the error requires change in the certificate request (e.g. fixing common name or domain names) then re-trying such request automatically doesn't make sense.
Describe the solution you'd like
I think additional Reason value should be added to indicate problems that require change in the request for which automatic retry will be blocked e.g:
const (
CertificateRequestReasonPending = "Pending"
CertificateRequestReasonFailed = "Failed"
CertificateRequestReasonFailedNoRetry = "FailedNoRetry"
CertificateRequestReasonIssued = "Issued"
)
Additional context
ADCS Issuer implementation
Environment details (if applicable):
/kind feature
The text was updated successfully, but these errors were encountered: