* feat: add --take-ownership flag to helm diff and related config Signed-off-by: yxxhero <aiopsclub@163.com> * fix: nil issue Signed-off-by: yxxhero <aiopsclub@163.com> * fix tests Signed-off-by: yxxhero <aiopsclub@163.com> * fix tests Signed-off-by: yxxhero <aiopsclub@163.com> * fix more issue Signed-off-by: yxxhero <aiopsclub@163.com> * fix more issues Signed-off-by: yxxhero <aiopsclub@163.com> * fix tests Signed-off-by: yxxhero <aiopsclub@163.com> * add more tests Signed-off-by: yxxhero <aiopsclub@163.com> --------- Signed-off-by: yxxhero <aiopsclub@163.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