-
Notifications
You must be signed in to change notification settings - Fork 566
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
Add support for --no-hooks option on diff #1115
Comments
@mcavoyk Thanks for the proposal - that makes sense! Out of curiosity, what would be the "best" behavior regarding this? Is diff on hooks still useful when you do have an update on your chart? In that case, we can perhaps collaborate with helm-diff to add an alternative mode that prints diff on hooks only when a release has diff for non-hook resources. |
The best behavior would be that helm diff understand the lifecycle of the specified hooks and only diff when the hook would actually be applied. I think the next best would be to control |
Any updates on this request? We also require the ability to ignore post-install hooks from helmfile diffs. |
@bobmacks Hey! Thanks for your attention. I'd say it's generally not a good idea to just ask for updates in a volunteer-driven open-source project, as no one is forced to spend time on it. |
@mumoshu , I've put my hand up for this. Will give it a shot. Looks straight forward enough. :) |
@arpanadhikari https://github.com/helmfile/helmfile. Welcome to create PRs in this repo. see: #2148 |
Amazing. Finally moved to its well deserved separate org. Thanks @yxxhero . |
The Helm diff plugin has a
--no-hooks
option which suppresses diff of Helm hooks when used. This option would be nice at either the release level or clihelmfile diff
level.Unintended behavior of this not being supported is that helm charts which use Helm hooks end up with misleading diffs and also upgrade being run on apply when no resources have changed.
The text was updated successfully, but these errors were encountered: