The build command is intended to be a read-only inspection command that outputs the helmfile state. However, when releases use jsonPatches, strategicMergePatches, or transformers, the chart preparation step triggers chartify, which runs helm template and requires dependencies to be built. This causes two issues: 1. helm template is executed unnecessarily for a simple state inspection 2. Missing chart dependencies cause errors even with SkipDeps enabled This change modifies PrepareCharts to filter out releases that require chartify when the command is "build". These releases are excluded from chart preparation, preventing helm template from being invoked. The state output will still include these releases, but their charts won't be processed during the build operation. Signed-off-by: Shane Starcher <shanestarcher@gmail.com> |
||
|---|---|---|
| .. | ||
| app | ||
| argparser | ||
| config | ||
| environment | ||
| envvar | ||
| errors | ||
| event | ||
| exectest | ||
| filesystem | ||
| hcllang | ||
| helmexec | ||
| maputil | ||
| plugins | ||
| policy | ||
| remote | ||
| runtime | ||
| state | ||
| testhelper | ||
| testutil | ||
| tmpl | ||
| yaml | ||