mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 16:12:19 +02:00
extracts in place, so a failed fetch can leave a partial chart in the cache. `forcedDownloadChart` returns the error but never removes the partial directory, and `findChartDirectory` accepts any directory containing a Chart.yaml, so the next run adopts the leftover as a valid cache entry and renders zero manifests without error. Remove the partial download while still holding the exclusive chart lock so the failure stays a failure. Co-authored-by: yxxhero <aiopsclub@163.com> Signed-off-by: Johannes Schmidt <jschmidt@canarytechnologies.com> Signed-off-by: yxxhero <aiopsclub@163.com>