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

feat: allow changing the default revisionHistoryLimit #1286

Merged
merged 2 commits into from
Aug 8, 2023
Merged

feat: allow changing the default revisionHistoryLimit #1286

merged 2 commits into from
Aug 8, 2023

Conversation

tberreis
Copy link
Contributor

@tberreis tberreis commented Aug 3, 2023

Description of the change

The deployment has been adapted to allow the user changing the default revisionHistoryLimit.

Benefits

You may want to clean up old replicasets so that these don't appear in metrics, OPA violations, ArgoCD UI and so on.
Therefore you want to overwrite the Kubernetes default revision history limit.

Possible drawbacks

N/A

Applicable issues

N/A

Additional information

N/A

Copy link
Collaborator

@alemorcuq alemorcuq left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution, @tberreis ! Please, check my comment.

@@ -12,6 +12,10 @@ fullnameOverride: ""
## @param namespace Namespace where to deploy the Sealed Secrets controller
##
namespace: ""
## @param revisionHistoryLimit Number of old history to retain to allow rollback (If not set, default Kubernetes value is set to 10)
## e.g:
## revisionHistoryLimit: 1
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
## revisionHistoryLimit: 1
revisionHistoryLimit: ""

I would also move this a bit down, under the "Sealed Secrets Parameters" section.

Could you please add this parameter to the readme too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for your feedback @alemorcuq. Code has been adapted.

Copy link
Collaborator

@alemorcuq alemorcuq left a comment

Choose a reason for hiding this comment

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

Thanks!

@alemorcuq alemorcuq merged commit 155db6e into bitnami-labs:main Aug 8, 2023
17 checks 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