mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2026-09-16 11:36:39 +00:00
9452c8be52538dd688a4b76b406689ed4cc97dce
The apply-manifests role rendered the IPAddressPool from a template using lb_pool_name, but applied the L2Advertisement from a hardcoded remote file where the pool name was baked in as 'first-pool'. Setting lb_pool_name to anything else left the L2Advertisement pointing at a non-existent pool, so MetalLB assigned LoadBalancer IPs but never advertised them (services got an external IP but were unreachable). Template the L2Advertisement locally from lb_pool_name, mirroring the IPAddressPool pattern, so both manifests always reference the same pool.
Languages
Shell
86%
Jinja
4.9%
HCL
3.3%
HTML
3.1%
PowerShell
1.2%
Other
1.5%
.png?raw=true)