Skip to content

Add spec.revisionHistoryLimit config possibility for Deployment resource #122

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

Merged
merged 2 commits into from
Jul 11, 2023

Conversation

mhoyer
Copy link
Contributor

@mhoyer mhoyer commented Jul 6, 2023

Description of the change

It simply adds the possibility to configure the revisionHistoryLimit property of the Deployment resource template, but keeps the default to 10.

Existing or Associated Issue(s)

none

Additional Information

Especially when using GitOps approach to deploy applications to a kubernetes cluster it makes not real sense to keep revisions of the deployments as those are actually kind of persisted inside the underlying SCM, which drives the deployment and its history.

Checklist

  • Chart version bumped in Chart.yaml according to semver.
  • Variables are documented in the values.yaml and added to the README.md. The helm-docs utility can be used to generate the necessary content. Use helm-docs --dry-run to preview the content.
  • JSON Schema generated.
  • List tests pass for Chart using the Chart Testing tool and the ct lint command.

@mhoyer mhoyer requested a review from a team as a code owner July 6, 2023 20:21
@mhoyer mhoyer force-pushed the add-revision-history-limit branch from 6ea6328 to e62a93b Compare July 7, 2023 17:22
@mhoyer mhoyer force-pushed the add-revision-history-limit branch from e62a93b to 0d2363e Compare July 8, 2023 05:49
Copy link
Member

@vinzscam vinzscam left a comment

Choose a reason for hiding this comment

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

amazing, thank you @mhoyer 🙏

@vinzscam vinzscam merged commit 2c1c880 into backstage:main Jul 11, 2023
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