k3s-ansible/.github/scripts
Timothy Stewart 9fa13d4b2e feat(metallb): add option to limit MetalLB layer2 announcements to specific interfaces
- roles/k3s_server_post/templates/metallb.crs.j2: render spec.interfaces in the
  L2Advertisement when metal_lb_interfaces is a non-empty list, so MetalLB only
  announces on the configured interfaces. Empty list (default) keeps announcing
  on all interfaces, preserving existing behavior.
- roles/k3s_server_post/defaults/main.yml: add metal_lb_interfaces: [] default
- roles/k3s_server_post/meta/main.yml: add metal_lb_interfaces argument_spec
- inventory/sample/group_vars/all.yml: document the new sample variable
- .github/scripts/test-metallb-interfaces.py: regression test rendering the
  template for empty/single/multiple interfaces and confirming the BGP path is
  unaffected
- .pre-commit-config.yaml: wire the new test into pre-commit

Co-authored-by: Leo <leo@kuboschek.me>
2026-08-05 00:08:18 -05:00
..
test-fixtures fix(ci): configure Ubuntu box prewarming 2026-08-01 12:27:12 -05:00
cleanup-runner-resources.sh
collect-runner-diagnostics.sh
monitor-runner-resources.sh
prepare-vagrant-box-masters.sh test(molecule): update Vagrant boxes to current releases 2026-08-01 19:13:48 -05:00
test-cilium-bgp-manifest.py feat(dependencies): upgrade supported cluster components (#681) 2026-08-02 12:44:50 -05:00
test-cilium-envoy-toggle.py feat(cilium): add toggle to enable or disable the Envoy proxy (#695) 2026-08-05 00:00:39 -05:00
test-cleanup-runner-resources.sh
test-default-interface.py fix(flannel): default the interface to each host's default IPv4 interface (#689) 2026-08-03 17:01:50 +00:00
test-k3s-server-bootstrap.sh
test-kube-vip-manifest.py feat(dependencies): upgrade supported cluster components (#681) 2026-08-02 12:44:50 -05:00
test-metallb-deploy-condition.py fix(metallb): deploy MetalLB with a non-BGP Cilium CNI (#692) 2026-08-04 01:45:05 -05:00
test-metallb-interfaces.py feat(metallb): add option to limit MetalLB layer2 announcements to specific interfaces 2026-08-05 00:08:18 -05:00
test-metallb-remote-read.sh feat(dependencies): upgrade supported cluster components (#681) 2026-08-02 12:44:50 -05:00
test-prepare-vagrant-box-masters.sh test(molecule): update Vagrant boxes to current releases 2026-08-01 19:13:48 -05:00
vagrant-up-timed.sh