Update MetalLB and switch to CRD notation. (#9120)

Signed-off-by: Jeroen Rijken <jeroen.rijken@xs4all.nl>
This commit is contained in:
Jeroen Rijken
2023-04-14 10:14:41 +02:00
committed by GitHub
parent 73ce6aef97
commit 709ae1d244
10 changed files with 2187 additions and 343 deletions

View File

@@ -0,0 +1,19 @@
#jinja2: trim_blocks: True, lstrip_blocks: True
# yamllint disable-file
---
# Create layer2 configuration
{% for entry in metallb_config.layer2 %}
---
# L2 Configuration
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: "{{ entry }}"
namespace: metallb-system
spec:
ipAddressPools:
- "{{ entry }}"
{% endfor %}