From e868f1f961522defbc49e3d5f48a10ca1a3d0839 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Wed, 30 Nov 2022 11:00:44 +0100 Subject: [PATCH] fix(lb): update metallb install --- base/metallb/advertise.yaml | 9 +++++++++ base/metallb/ipaddresspoool.yaml | 8 ++++++++ base/metallb/kustomization.yaml | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 base/metallb/advertise.yaml create mode 100644 base/metallb/ipaddresspoool.yaml diff --git a/base/metallb/advertise.yaml b/base/metallb/advertise.yaml new file mode 100644 index 0000000..d251dba --- /dev/null +++ b/base/metallb/advertise.yaml @@ -0,0 +1,9 @@ +apiVersion: metallb.io/v1beta1 +kind: L2Advertisement +metadata: + name: l2-ip-pool-ad + namespace: metallb-system +spec: + ipAddressPools: + - main-pool + diff --git a/base/metallb/ipaddresspoool.yaml b/base/metallb/ipaddresspoool.yaml new file mode 100644 index 0000000..edcdef1 --- /dev/null +++ b/base/metallb/ipaddresspoool.yaml @@ -0,0 +1,8 @@ +apiVersion: metallb.io/v1beta1 +kind: IPAddressPool +metadata: + name: main-pool + namespace: metallb-system +spec: + addresses: + - 192.168.10.220-192.168.10.240 diff --git a/base/metallb/kustomization.yaml b/base/metallb/kustomization.yaml index 22347bd..90ce112 100644 --- a/base/metallb/kustomization.yaml +++ b/base/metallb/kustomization.yaml @@ -2,3 +2,5 @@ namespace: metallb-system resources: - github.com/metallb/metallb/config/native?ref=v0.13.7 + - ipaddresspoool.yaml + - advertise.yaml