Ability to configure --skip-deps globally
Extracted from https://github.com/roboll/helmfile/issues/791#issuecomment-519116755
I still run into the issue of not being able to disable the flag :(
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?
I assume that it can now be specified in helmfile.yaml
helmDefaults:
skipDeps: true
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?
field skipDeps not found in type state.HelmSpec
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. https://github.com/roboll/helmfile/blob/9b64d65d9478cbe7b9bbd9d9049160108b01f6da/pkg/state/state.go#L145
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.
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
Aha! works with 0.163.0
does not work as --skip-deps works... with .helmDefaults.skipDeps the helm repo update command is still executed