From 299d0203dfe3375aa47ccab0de65156e1e4e82f5 Mon Sep 17 00:00:00 2001 From: Victor Roest Date: Tue, 26 Oct 2021 16:38:53 +0200 Subject: [PATCH] add: metallb --- cluster/core/networking/kustomization.yaml | 5 +++ .../core/networking/metallb/helm-release.yaml | 31 +++++++++++++++++++ .../networking/metallb/kustomization.yaml | 5 +++ 3 files changed, 41 insertions(+) create mode 100644 cluster/core/networking/kustomization.yaml create mode 100644 cluster/core/networking/metallb/helm-release.yaml create mode 100644 cluster/core/networking/metallb/kustomization.yaml diff --git a/cluster/core/networking/kustomization.yaml b/cluster/core/networking/kustomization.yaml new file mode 100644 index 0000000..716c6af --- /dev/null +++ b/cluster/core/networking/kustomization.yaml @@ -0,0 +1,5 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - metallb diff --git a/cluster/core/networking/metallb/helm-release.yaml b/cluster/core/networking/metallb/helm-release.yaml new file mode 100644 index 0000000..a976d46 --- /dev/null +++ b/cluster/core/networking/metallb/helm-release.yaml @@ -0,0 +1,31 @@ +--- +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: metallb + namespace: networking +spec: + interval: 5m + chart: + spec: + # renovate: registryUrl=https://metallb.github.io/metallb + chart: metallb + version: 0.10.3 + sourceRef: + kind: HelmRepository + name: metallb-charts + namespace: flux-system + interval: 5m + values: + configInline: + address-pools: + - name: default + protocol: layer2 + addresses: + - 10.42.42.150-192.168.42.200 + speaker: + tolerations: + - effect: "NoExecute" + operator: "Exists" + - effect: "NoSchedule" + operator: "Exists" diff --git a/cluster/core/networking/metallb/kustomization.yaml b/cluster/core/networking/metallb/kustomization.yaml new file mode 100644 index 0000000..2fa2de2 --- /dev/null +++ b/cluster/core/networking/metallb/kustomization.yaml @@ -0,0 +1,5 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - helm-release.yaml