This should fix #435 for Helmfile v0.x releases since the next v0.150.0. We introduce a new envvar to opt-in to the new YAML library, so that you can give it a shot before upgrading your Helmfile to v1. The same envvar can be used to opt-out of the new YAML library after you upgrade to Helmfile v1, giving you a more flexible migration story. Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> |
||
|---|---|---|
| .. | ||
| testdata | ||
| .gitignore | ||
| README.md | ||
| snapshot_test.go | ||
| tmpl_test.go | ||
README.md
This directory contains a set of Go test source and testdata
to test the helmfile template's rendering result by calling helmfile build or helmfile template on test input
and comparing the output against the snapshot.
The testdata directory is composed of:
charts: The Helm charts used from within test helmfile configs (snapshpt/*/input.yaml) as local charts and remote chartssnapshot/$NAME/input.yaml: The input helmfile config for the test case of$NAMEsnapshot/$NAME/output.yaml: The expected output of the helmfile commandsnapshot/$NAME/config.yaml: The snapshot test configuration file. See theConfigstruct defined insnapshot_test.gofor more information