Files
cozystack/hack/testdata
Aleksei Sviridkin a6d57c6aee test(capi): model the operator's cross-provider repository check
The kubectl fake let a provider converge as soon as its own selector
named its version, so the suite could not see a failure that comes from
another provider's repository. cluster-api-operator resolves the
repository of every other installed provider whenever a provider's
version changes, and refuses a selector that matches more than one
ConfigMap; that is how a bridge bundle carrying legacy labels blocked
the core step.

The fake now holds the repository ConfigMaps, the legacy v1.10 ones plus
the bridge ones rendered from the capi-operator chart, and applies the
operator's rule before a provider converges.

Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-11-16 13:23:35 +03:00
..