chore(mgmt): move metallb to cluster resource space

This commit is contained in:
David Landry 2025-09-21 16:07:34 -04:00
parent e7af4bf4a3
commit e26ea309ae
7 changed files with 46 additions and 28 deletions

View file

@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- cnpg-1.24.0.yaml
- metallb/

View file

@ -0,0 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: metallb-system
resources:
- github.com/metallb/metallb/config/native?ref=v0.15.2
- ./pool.internal.yaml
# - ./pool.external.yaml

View file

@ -0,0 +1,18 @@
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: external
namespace: metallb-system
spec:
addresses:
- 2600:1700:4a50:8a9f::/64
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: external
namespace: metallb-system
spec:
ipAddressPools:
- external

View file

@ -0,0 +1,19 @@
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: internal
namespace: metallb-system
spec:
addresses:
- 192.168.1.99-192.168.1.200
# - fe80::aa20:66ff:fe16:4966/64 # This is causing issues with traefik right now
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: internal
namespace: metallb-system
spec:
ipAddressPools:
- internal