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

23 lines
1.1 KiB
YAML

profiles:
# addons.hami.*: HAMi runs on top of the GPU operator
- addons: {gpuOperator: {enabled: true}}
# addons.ouroboros.*: ouroboros fixes hairpin NAT for the tenant ingress-nginx
- addons: {ingressNginx: {enabled: true}}
# addons.verticalPodAutoscaler.*: the VPA is installed with the monitoring agents
- addons: {monitoringAgents: {enabled: true}}
# controlPlane.apiServer.extraVolumeMounts[0].*: a mount must name a volume declared in extraVolumes
- controlPlane:
apiServer:
extraVolumes: [{name: authn, configMap: {name: authn}}]
extraVolumeMounts: [{name: authn, mountPath: /etc/kubernetes/authn}]
# proxmox.*: the proxmox substrate with the settings its templates require
- substrate: proxmox
proxmox:
dnsServers: ["10.0.0.1"]
allowedNodes: ["pve1"]
ipv4Config: {addresses: ["10.0.0.10-10.0.0.20"], gateway: "10.0.0.1", prefix: 24}
ccm: {credentialsSecretName: pve}
csi: {credentialsSecretName: pve, storageClasses: [{name: fast, storage: local-lvm}]}
# oidc.customConfig.*, oidc.users[*]: a tenant-supplied issuer
- oidc: {mode: CustomConfig, customConfig: {secretRef: {name: authn}}}