From c7af0b67f4a96a8d1ef1f15f3f63f2beb82c4d87 Mon Sep 17 00:00:00 2001 From: yxxhero Date: Sun, 27 Jul 2025 14:39:11 +0800 Subject: [PATCH] fix(state): conditionally prepare charts for local helmfile command Signed-off-by: yxxhero --- pkg/state/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/state/state.go b/pkg/state/state.go index 7ef8d290..fc26c77e 100644 --- a/pkg/state/state.go +++ b/pkg/state/state.go @@ -1372,7 +1372,7 @@ func (st *HelmState) PrepareCharts(helm helmexec.Interface, dir string, concurre // for a remote chart, so that the user can notice/fix the issue in a local chart while // a broken remote chart won't completely block their job. chartPath = normalizedChart - if helmfileCommand == "pull" { + if helmfileCommand == "pull" && isLocal { // copy chart to a temporary directory chartPath, err = generateChartPath(chartName, dir, release, opts.OutputDirTemplate) if err != nil {