Compare Go Template Renders
Quick start
- Make your code changes.
- export ENV_DIR=$PWD/tests/fixtures (if not already set)
- Run:
bin/compare.sh
- Review diffs in rendered output and confirm they match intent.
Workflows
Standard workflow for templating changes
- Run
bin/compare.shafter making changes. - Inspect before/after rendered template differences.
- Verify differences are expected and limited to intended behavior.
- If unexpected diffs appear, revise changes and rerun
bin/compare.sh. - Include a brief summary of observed render diffs in your report/PR notes.
Scope guardrail
Use it only when changes affect charts/**, values/**, or helmfile.d/**