Files
cozystack/hack/testdata/values-injection/external-dns.yaml
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

25 lines
1016 B
YAML

profiles:
# Each provider's credentials block renders only when provider names it.
# The blocks are free-form objects in the schema, so only their default keys
# (accessKeyId, apiToken, ...) reach the output, never an arbitrary key.
# cloudflare.*: apiToken
- {provider: cloudflare}
# cloudflare.*: apiKey and apiEmail, which render only as a pair and only without apiToken
- {provider: cloudflare, cloudflare: {apiKey: key, apiEmail: dns@example.org}}
# aws.*: accessKeyId, secretAccessKey, region, zoneType
- {provider: aws}
# azure.*: tenantId, subscriptionId, resourceGroup, aadClientId, aadClientSecret
- {provider: azure}
# google.*: project, serviceAccountKey
- {provider: google}
# digitalocean.*: token
- {provider: digitalocean}
# linode.*: token
- {provider: linode}
# ovh.*: endpoint, applicationKey, applicationSecret, consumerKey
- {provider: ovh}
# exoscale.*: apiKey, apiSecret
- {provider: exoscale}
# godaddy.*: apiKey, apiSecret
- {provider: godaddy}