Files
cozystack/hack/values-injection/go.mod
T
Myasnikov Daniil fb00301f0b test(hack): check chart output for arbitrary tenant values in unit-tests
hack/values-injection renders every chart under packages/apps and
packages/extra with generated values for each string field and map
key its schema allows, including the charts its HelmReleases install,
and fails when a value changes the structure of the output rather
than only its content. Fields multiline by design are listed in
hack/testdata/values-injection/allowlist.txt.

It runs as values-injection-check, a prerequisite of unit-tests, and
the Helm Charts conventions in docs/agents/overview.md gain the rule it
enforces.

Assisted-by: LLM
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
2026-12-03 10:03:22 +00:00

11 lines
180 B
AMPL

module github.com/cozystack/cozystack/hack/values-injection
go 1.27.2
require (
mvdan.cc/sh/v3 v3.10.0
sigs.k8s.io/yaml v1.6.0
)
require go.yaml.in/yaml/v2 v2.4.4 // indirect