Files
cozystack/packages
Timofei Larkin 9e8a747b0b fix(platform): gate the MetalLB driver on its deps
cozystack.metallb-iad hard-depends on cozystack.metallb and on
cozystack.address-controller, and a driver Package rendered without both
beside it never leaves DependenciesNotReady — the wedge the velero and
bucket-application comments in system.yaml already record for default
packages, reachable here through an opt-in one.

MetalLB is absent in three ways: on isp-hosted, which never calls the
common-packages helper; on a slim variant that did not opt into it; and
wherever disabledPackages names it. The core is absent unless enabled.
Rather than restate those rules for the driver, the driver is gated on
each dependency's own include having rendered a Package, so they cannot
drift when either's rules change. The class-agnostic core stays in the
variant-agnostic body: it carries no MetalLB dependency and is usable
with another driver.

Assisted-by: LLM
Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
2026-11-16 06:49:47 +01:00
..