Files
cozystack/packages
Myasnikov Daniil 6b0a564bc4 test(kubernetes-nodes): cover the Talos support-matrix guard by render
The pool chart checks every worker's Talos release against the
Kubernetes version it joins, once for talos.version and once for the
release osImage resolves to, and that is now the only such check. Its
coverage was two grep tests that the call sites exist; nothing rendered
a refusal, and the pairings it has to let through were pinned only in
the parent chart, against a copy of the table.

The pool's own suite pins the in-window pairings, through talos.version
at both ends of the schema's version range and through
osImage.factory.version. The refusals need a version the schema does
not offer and the versions map does not hold, so they render a copy of
the chart with --skip-schema-validation and one extra versions.yaml row,
the way the postgres preload allowlist test reaches its backstop. They
fail if the second call is fed talos.version instead of the resolved
release, if the table is keyed on the full release instead of the
minor, or if either call is dropped.

Assisted-by: LLM
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
2026-11-12 16:57:46 +05:00
..