Add a --skip-charts flag to the `helmfile build` command to allow users to skip chart preparation, following the same pattern as the list and destroy commands. This addresses an issue where `helmfile build` would run `helm template` on kustomize resources during chart preparation, even though build is meant to be a read-only inspection command. Changes: - Add SkipCharts field to BuildOptions - Add --skip-charts flag to build command CLI - Update StateConfigProvider interface to include SkipCharts() - Update PrintState() to conditionally skip withPreparedCharts when flag is set By default, the flag is false (charts are prepared) to maintain backward compatibility. Users can now run `helmfile build --skip-charts` to get fast output without chart preparation. Signed-off-by: Shane Starcher <shanestarcher@gmail.com> |
||
|---|---|---|
| .. | ||
| testdata | ||
| version | ||
| app.go | ||
| app_apply_hooks_test.go | ||
| app_apply_nokubectx_test.go | ||
| app_apply_test.go | ||
| app_diff_test.go | ||
| app_lint_test.go | ||
| app_list_test.go | ||
| app_sync_test.go | ||
| app_template_test.go | ||
| app_test.go | ||
| ask.go | ||
| config.go | ||
| constants.go | ||
| constants_test.go | ||
| context.go | ||
| dag_test.go | ||
| desired_state_file_loader.go | ||
| destroy_nokubectx_test.go | ||
| destroy_test.go | ||
| diff_nokubectx_test.go | ||
| diff_test.go | ||
| errors.go | ||
| errors_test.go | ||
| formatters.go | ||
| formatters_test.go | ||
| init.go | ||
| init_test.go | ||
| load_opts.go | ||
| load_opts_test.go | ||
| run.go | ||
| snapshot_test.go | ||
| two_pass_renderer.go | ||
| two_pass_renderer_test.go | ||
| validate_config.go | ||
| validate_config_test.go | ||