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

Ability to configure --skip-deps globally #795

Open
mumoshu opened this issue Aug 7, 2019 · 9 comments · Fixed by helmfile/helmfile#771
Open

Ability to configure --skip-deps globally #795

mumoshu opened this issue Aug 7, 2019 · 9 comments · Fixed by helmfile/helmfile#771

Comments

@mumoshu
Copy link
Collaborator

mumoshu commented Aug 7, 2019

Extracted from #791 (comment)

@Morriz
Copy link

Morriz commented Jan 31, 2020

I still run into the issue of not being able to disable the flag :(

@Morriz
Copy link

Morriz commented Feb 6, 2020

Hi @mumoshu, can you please implement this? It leads to more errors now, like Chart.lock out of sync errors, even though our list length of repositories in helmfiles is exactly zero. Why even bother to query all that when there is no need?

@dududko
Copy link

dududko commented Jan 18, 2021

I assume that it can now be specified in helmfile.yaml

helmDefaults:
  skipDeps: true

@Morriz
Copy link

Morriz commented Jan 21, 2021

I assume that it can now be specified in helmfile.yaml

helmDefaults:
  skipDeps: true

I hope that works. Did you test that assumption? Or are you referring to some documentation your read?

@Morriz
Copy link

Morriz commented Jan 21, 2021

field skipDeps not found in type state.HelmSpec

@dududko
Copy link

dududko commented Jan 21, 2021

I found it in the Configuration section of the README.md
https://github.com/roboll/helmfile#configuration

Maybe you are using the old version of helmfile, because this attribute present in the master branch.

SkipDeps bool `yaml:"skipDeps"`

@Morriz
Copy link

Morriz commented Jan 22, 2021

We run 1.3.6 and see it mentioned in the README, but still get that error. I don't see any of the 4 PRs in 1.3.7 fixing that. Will create a separate issue for that.

hans-m-song added a commit to hans-m-song/helmfile that referenced this issue Mar 30, 2023
Every time I execute commands, I would like to opt out of force-updates

This adds additional flags to the cli:

- `--skip-deps` - hoisted up to the global level
- `--disable-force-update` - exposes the ability to disable the force-update flag

Resolves #roboll/helmfile/issues/795
Relates to roboll/helmfile/pull/1494#pullrequestreview-506233792

Still a rookie at go (especially of this size), any feedback is appreciated
hans-m-song added a commit to hans-m-song/helmfile that referenced this issue Mar 30, 2023
Every time I execute commands, I would like to opt out of force-updates

This adds additional flags to the cli:

- `--skip-deps` - hoisted up to the global level
- `--disable-force-update` - exposes the ability to disable the force-update flag

Resolves #roboll/helmfile/issues/795
Relates to roboll/helmfile/pull/1494#pullrequestreview-506233792

Still a rookie at go (especially of this size), any feedback is appreciated
@stephenc
Copy link

Does this work?

▓▓▓ helmfile

  Version              0.162.0
  Git Commit           9203641
  Build Date           18 Feb 24 10:46 UTC (1 month ago)
  Commit Date          18 Feb 24 04:10 UTC (1 month ago)
  Dirty Build          no
  Go version           1.22.0
  Compiler             gc
  Platform             linux/amd64

  │ A new release is available: 0.162.0 → v0.163.0
  │ https://github.com/helmfile/helmfile/releases/tag/v0.163.0

I have the flag not being applied globally even when set at the root of my helmfiles

@stephenc
Copy link

Aha! works with 0.163.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants