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 authored and GitHub committed 2023-02-09 23:58:58 -06:00
1 parent 5a7ba98968
commit dc2976e7f6
4 files changed
+70 -3

No files matched your search

+13 -1
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