Skip to content

Cert-manager created multiple CertificateRequests (over 30k) for a valid certificate #7828

Description

@sneha1013

Describe the bug:
Multiple CertificateRequests (over 30k) got created for a certificate in a day even though the certificate has a long validity.

status:                                          
  conditions:                                    
  - lastTransitionTime: "2025-02-07T23:46:17Z"   
  message: Certificate is up to date and has not expired   
  observedGeneration: 1                        
  reason: Ready                                
  status: "True"                               
  type: Ready                                  
  notAfter: "2025-07-30T09:25:42Z"               
  notBefore: "2025-05-31T09:25:42Z"              
  renewalTime: "2025-07-25T09:25:42Z"            
  revision: 30464

Expected behaviour:
The cert-manager should not have created so many CertificateRequests when the certificate is valid.

Steps to reproduce the bug:
We are not sure what caused this issue and were able to reproduce it again.

/kind bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions