Files
cozystack/hack
Myasnikov Daniil e56e66ae81 test(kubernetes-nodes): fail when the pool and cluster CIDRs disagree
The tenant pod and service CIDRs are literals in two charts: the
kubernetes chart writes them into the CAPI Cluster, the pool chart
into every worker's Talos machine config. The parent's comment says
they must match and keeps them "in one place", but since the pools
moved out the second copy has had nothing tying it to the first, and
a mismatch renders cleanly on both sides while workers route over a
range the control plane does not use.

The test renders both charts and compares the lists, reading the
worker side from the TalosConfigTemplate the reconcile Job's heredoc
actually emits rather than grepping the Job text.

Assisted-by: LLM
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
2026-11-12 18:03:44 +05:00
..