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

Support the upgrade flag --reset-then-reuse-values added in Helm v3.14.0 #634

Merged
merged 6 commits into from
Oct 23, 2024

Conversation

trk9001
Copy link
Contributor

@trk9001 trk9001 commented Jun 24, 2024

Since this flag was added to Helm it has made life much easier when upgrading charts with multiple values files. By force of habit I run helm diff upgrade before nearly every helm upgrade, so it's a bummer when this flag isn't recognized. This PR adds support for it and closes #571.

PS. I'm very new to Go, and it probably shows in the effort. I'd appreciate any pointers to improve the code, or any suggestions in general. Thanks!

@trk9001
Copy link
Contributor Author

trk9001 commented Jun 27, 2024

Hey @yxxhero 👋 Do you think we can have this merged if everything's all right?

@yxxhero
Copy link
Collaborator

yxxhero commented Jul 4, 2024

@trk9001 I will review at weekend.

cmd/helm3.go Show resolved Hide resolved
cmd/helm3.go Outdated Show resolved Hide resolved
@trk9001 trk9001 requested a review from yxxhero July 31, 2024 12:17
@yxxhero
Copy link
Collaborator

yxxhero commented Jul 31, 2024

@trk9001 any tests?

@trk9001
Copy link
Contributor Author

trk9001 commented Jul 31, 2024

@trk9001 any tests?

Not sure how I can test the new functionality without a remote cluster, although I did test it manually with a cluster I have access to. Any suggestions?

cmd/helm3.go Show resolved Hide resolved
@trk9001
Copy link
Contributor Author

trk9001 commented Aug 18, 2024

@yxxhero I'm not sure that there is anything left to do here with regard to testing. If you also agree, then can we have this merged?

@yxxhero
Copy link
Collaborator

yxxhero commented Aug 18, 2024

@mumoshu WDYT?

Copy link
Collaborator

@mumoshu mumoshu left a comment

Choose a reason for hiding this comment

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

LGTM! Awesome work @trk9001!

@mumoshu mumoshu merged commit 196c9f7 into databus23:master Oct 23, 2024
16 checks passed
@trk9001 trk9001 deleted the add-reset-then-reuse-values-support branch October 23, 2024 08:18
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.

Support the --reset-then-reuse-values flag from helm 3.14+
3 participants