From 92757e73c6a2806f8c228812e4a4dc5e41fb0854 Mon Sep 17 00:00:00 2001 From: Julien LE JEUNE Date: Fri, 26 Aug 2022 21:07:45 +0200 Subject: [PATCH] Fixed: downgrade metallb version from 0.13.4 to 0.12.1 To prevent bugs: - https://github.com/metallb/metallb/issues/1540 - https://github.com/metallb/metallb/issues/1547 --- ansible/playbooks/patch-flux-branch.yml | 1 - cluster/core/networking/metallb/metallb.yaml | 27 ++++++-------------- 2 files changed, 8 insertions(+), 20 deletions(-) diff --git a/ansible/playbooks/patch-flux-branch.yml b/ansible/playbooks/patch-flux-branch.yml index 1b70994a..13ac85e5 100644 --- a/ansible/playbooks/patch-flux-branch.yml +++ b/ansible/playbooks/patch-flux-branch.yml @@ -19,4 +19,3 @@ - name: Manually sync the config ansible.builtin.command: flux reconcile kustomization apps ignore_errors: yes - no_log: True diff --git a/cluster/core/networking/metallb/metallb.yaml b/cluster/core/networking/metallb/metallb.yaml index 80937899..9ea5d264 100644 --- a/cluster/core/networking/metallb/metallb.yaml +++ b/cluster/core/networking/metallb/metallb.yaml @@ -1,22 +1,4 @@ --- -apiVersion: metallb.io/v1beta1 -kind: L2Advertisement -metadata: - name: l2-ip - namespace: networking -spec: - ipAddressPools: - - default-pool ---- -apiVersion: metallb.io/v1beta1 -kind: IPAddressPool -metadata: - name: default-pool - namespace: networking -spec: - addresses: - - 192.168.1.200-192.168.1.250 ---- apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: @@ -27,9 +9,16 @@ spec: chart: spec: chart: metallb - version: 0.13.4 + version: 0.12.1 sourceRef: kind: HelmRepository name: metallb-charts namespace: flux-system interval: 5m + values: + configInline: + address-pools: + - name: default + protocol: layer2 + addresses: + - 192.168.1.200-192.168.1.250