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

fix: Allow setting revisionHistoryLimit to 0 #183

Merged
merged 3 commits into from
Feb 28, 2024

Conversation

Farfaday
Copy link

Hi,

when revisionHistoryLimit is set to 0, the if condition goes to false and the revisionHistoryLimit is not rendered.

As revisionHistoryLimit has a default value in values.yaml, we can remove the if condition from deployment.yaml

0 is a valid value for revisionHistoryLimit as per: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#clean-up-policy

Many thanks!

@pierluigilenoci pierluigilenoci merged commit 731465b into oauth2-proxy:main Feb 28, 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.

2 participants