From eb848d81236c1fb7b1a6833f435f0b3830760ecc Mon Sep 17 00:00:00 2001 From: HDW Date: Sun, 19 Apr 2026 19:01:34 +0200 Subject: [PATCH] feat: initial bootstrap manifests for argocd and gitea --- infrastructure/metalLB/application.yaml | 23 +++++++++++++++++++++++ infrastructure/metalLB/values.yaml | 17 +++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 infrastructure/metalLB/application.yaml create mode 100644 infrastructure/metalLB/values.yaml diff --git a/infrastructure/metalLB/application.yaml b/infrastructure/metalLB/application.yaml new file mode 100644 index 0000000..2c44649 --- /dev/null +++ b/infrastructure/metalLB/application.yaml @@ -0,0 +1,23 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: metallb + namespace: argocd +spec: + project: default + source: + repoURL: https://metallb.github.io/metallb + chart: metallb + targetRevision: 0.14.8 # Prüfe kurz nach der aktuellsten Version + helm: + releaseName: metallb + destination: + server: https://kubernetes.default.svc + namespace: metallb-system # MetalLB besteht auf diesem Namespace + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true + - ServerSideApply=true diff --git a/infrastructure/metalLB/values.yaml b/infrastructure/metalLB/values.yaml new file mode 100644 index 0000000..314fb36 --- /dev/null +++ b/infrastructure/metalLB/values.yaml @@ -0,0 +1,17 @@ +apiVersion: metallb.io/v1beta1 +kind: IPAddressPool +metadata: + name: first-pool + namespace: metallb-system +spec: + addresses: + - 192.168.1.200-192.168.1.220 # <-- HIER DEINEN BEREICH EINTRAGEN +--- +apiVersion: metallb.io/v1beta1 +kind: L2Advertisement +metadata: + name: l2-advertisement + namespace: metallb-system +spec: + ipAddressPools: + - first-pool