feat: Add kustomization for res and metallb configuration

This commit is contained in:
Tanguy Herbron 2024-12-21 22:47:40 +01:00
parent fb4700540d
commit 5ca1b527f8
5 changed files with 12 additions and 4 deletions

View File

@ -7,6 +7,6 @@ data:
config: | config: |
ipaddress-pools: ipaddress-pools:
- name: default - name: default
protocol: layer2
addresses: addresses:
- 10.20.0.1-10.20.0.100 - 10.20.0.0/24
- 51.15.80.73/32

View File

@ -6,4 +6,4 @@ metadata:
spec: spec:
addresses: addresses:
- 51.15.80.73/32 - 51.15.80.73/32
- 192.168.56.0/24 - 10.10.0.0/24

View File

@ -4,3 +4,4 @@ kind: Kustomization
resources: resources:
- configmap.yaml - configmap.yaml
- ipaddresspool.yaml - ipaddresspool.yaml
- l2advertisement.yaml

View File

@ -0,0 +1,8 @@
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
namespace: metallb-system
name: l2advertisement
spec: {}
#ipAddressPools:
# - default

View File

@ -2,6 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- ovh-config.yaml
- flat-sc.yaml - flat-sc.yaml
- redundant-sc.yaml - redundant-sc.yaml