Metallb BGP support (#212)

* Add metallb frr and bgp support

* Set metallb mode to layer2 as default in sample

* Add BGP resource check

* Add automatic downloading of metallb-frr

* Remove frr manifest
This commit is contained in:
Mike Thomas
2023-02-10 06:58:58 +01:00
committed by GitHub
parent 5a7ba98968
commit dc2976e7f6
4 changed files with 70 additions and 3 deletions

View File

@@ -79,11 +79,23 @@
until: this.rc == 0
retries: 5
- name: Test metallb-system resources
- name: Test metallb-system resources for Layer 2 configuration
command: >-
k3s kubectl -n metallb-system get {{ item }}
changed_when: false
run_once: true
when: metal_lb_mode == "layer2"
with_items:
- IPAddressPool
- L2Advertisement
- name: Test metallb-system resources for BGP configuration
command: >-
k3s kubectl -n metallb-system get {{ item }}
changed_when: false
run_once: true
when: metal_lb_mode == "bgp"
with_items:
- IPAddressPool
- BGPPeer
- BGPAdvertisement