Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for specifying revisionHistoryLimit for the generated Certificate #104

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

Hsn723
Copy link
Member

@Hsn723 Hsn723 commented Jun 7, 2024

Currently, contour-plus creates Certificates without setting .spec.revisionHistoryLimit. As a result, the number of CertificateRequests is unbounded and will keep increasing as existing Certificates are renewed or updated. In a long-lived cluster with a lot of HTTPProxies relying on contour-plus, this will lead to a large amount of unnecessary CertificateRequests being kept around.

This PR adds support for specifying the upper-bound for the number of CertificateRequests kept per Certificate, allowing cert-manager to perform garbage-collection on older CertificateRequests and keeping things tidy.

@tkna tkna requested review from terassyi and tkna June 10, 2024 05:29
Copy link
Contributor

@terassyi terassyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tkna tkna merged commit 9b00d3b into cybozu-go:main Jun 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants