-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
Introduction of --skip-needs results in breaking change #339
Comments
@strainovic I will work on this. Thanks for your issue. |
We added this to fix the bug that @yxxhero How are you going to "fix" it? Did we unintentionally introduced a regression when we migrated to cobra? |
@yxxhero Which commit/pull request broke it then...? The only relevant commit in v0.143.0 would be roboll/helmfile#2026. But it has been added for a good reason. |
@yxxhero I reviewed #342 but I'm still unsure what it's supposed to do. Are you going to make |
roboll/helmfile#1835 from the code. it will return false when --skip-needs not provided. |
@yxxhero I think the key difference is the use of |
@mumoshu oh. I konw. I will check the code again. |
@mumoshu done. sorry for this issue. |
@yxxhero Thanks! To be extra clear, your fix addresses the regression introduced in 0.145.0, right? |
@mumoshu yes. |
Operating system
Windows x64
Helmfile Version
0.143.0-0.145.3
Helm Version
3.9.0
Bug description
We use a selector(s) to match and template/sync only a single or subset of services. Everything worked fine until we updated the helmfile version.
helmfile version v0.142.0
works fine with--selector/-l
andtemplate
commandhelmfile version v0.143.0
with the same command produces the following error(s):The
sync
command worked fine with-selector/-l
with both mentioned versions.Helmfile version 0.145.2
works fine with--selector/-l
andsync
commandHelmfile version 0.145.3
with the same command produces the following error(s):Everything works fine if we add
-skip-needs
on the latest helmfile released version.Do we really need this breaking change and if yes, what is the benefit of it?
Thanks :)
Example helmfile.yaml
Error message you've seen (if any)
Steps to reproduce
Working Helmfile Version
0.142.0
Relevant discussion
The text was updated successfully, but these errors were encountered: