-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
cli: Add support for helm --max-history command line flag #36677
Conversation
a6d4bad
to
aa90241
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Looks good to me. Introducing a limit on the history by default seems reasonable to me. But let's also ping @cilium/sig-cilium-cli
/test |
aa90241
to
45bacf9
Compare
@marcofranssen Please note that rebasing the branch invalidates the CI results, thus requiring us to restart CI. Unless there are persistent CI flakes that reoccur even after a comitter has restarted CI for you, or there are merge conflicts, there should be no need to rebase your branch. |
/test |
@gandro ok, good to know. I'm very used to that to keep stuff in sync, but will remember this for other contributions on this project. To not do that if there is no need for the sake of that PR. |
Incidentally the CI failures on the upgrade test look unrelated. Let's wait for them to get fixed before we rebase |
Pushed the fix for go linting just now. Was missing the license header on the upgrade_test.go. The other failures seem to be unrelated to the CLI changes. Let me know if there is anything else required from me. |
82da336
to
68b9d0f
Compare
Thank you! For now, I don't think anything else is required from you. Let's re-run CI |
/test |
The test failiure on the the integration test workflow seems legitimate:
|
68b9d0f
to
f3cca59
Compare
Fixed |
drive-by - please squash the two fix-ups into the main patch :) |
By using this flag and same default as the upstream Helm project we can give users same behavior. Without this people will end up with hundreds of helm releases on their clusters. Using this option we will limit them by default to 10 releases and allow users to choose for a longer or shorter history. Signed-off-by: Marco Franssen <[email protected]>
f3cca59
to
4d92762
Compare
Done! 🎉 |
/test |
Looks like all checks passed :) are we good to merge? |
Please ensure your pull request adheres to the following guidelines:
description and a
Fixes: #XXX
line if the commit addresses a particularGitHub issue.
Fixes: <commit-id>
tag, thenplease add the commit author[s] as reviewer[s] to this issue.
Fixes: N.A.