mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-03 08:36:47 +02:00
fix: helmDefaults.skipRefresh ignored in runHelmDepBuilds (#2269) `runHelmDepBuilds()` only checked the CLI flag (`opts.SkipRefresh`) when deciding whether to run `helm repo update` before building dependencies. This meant that setting `helmDefaults.skipRefresh: true` in helmfile.yaml had no effect on the repo update call inside dep builds. Add `!st.HelmDefaults.SkipRefresh` to the guard condition so that `helmDefaults.skipRefresh: true` is respected alongside the CLI flag. Signed-off-by: Aditya Menon <amenon@canarytechnologies.com>
14 lines
333 B
YAML
14 lines
333 B
YAML
# Issue #2269: helmDefaults.skipDeps and helmDefaults.skipRefresh should prevent
|
|
# repo operations (Adding repo, helm repo update) without needing CLI flags.
|
|
repositories:
|
|
- name: fake-repo
|
|
url: https://fake-repo.example.com
|
|
|
|
helmDefaults:
|
|
skipDeps: true
|
|
skipRefresh: true
|
|
|
|
releases:
|
|
- name: test-release-2269
|
|
chart: ./chart
|