Files
Aditya Menon abfe73fa6f fix: helmDefaults.skipRefresh ignored in runHelmDepBuilds (#2415)
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>
2026-02-22 14:13:05 +05:30

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