From c681473bd170e8457daeb019b32dc288ff0001da Mon Sep 17 00:00:00 2001 From: HDW Date: Sun, 19 Apr 2026 18:19:54 +0200 Subject: [PATCH] feat: initial bootstrap manifests for argocd and gitea --- infrastructure/traefik/application.yaml | 24 ++++++++++++++++++++++++ infrastructure/traefik/values.yaml | 21 +++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 infrastructure/traefik/application.yaml create mode 100644 infrastructure/traefik/values.yaml diff --git a/infrastructure/traefik/application.yaml b/infrastructure/traefik/application.yaml new file mode 100644 index 0000000..0afe457 --- /dev/null +++ b/infrastructure/traefik/application.yaml @@ -0,0 +1,24 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: traefik + namespace: argocd + annotations: + argocd.argoproj.io/sync-wave: "2" # Läuft nach der Grund-Infra +spec: + project: default + source: + repoURL: https://helm.traefik.io/traefik + targetRevision: 31.0.0 # Hier ggf. die aktuellste Chart-Version prüfen + chart: traefik + helm: + valueFiles: + # Hier zeigen wir auf die values.yaml im gleichen Ordner + - values.yaml + destination: + server: 'https://kubernetes.default.svc' + namespace: traefik # WICHTIG: Erstelle den Namespace manuell oder via Argo + syncPolicy: + automated: + prune: true + selfHeal: true diff --git a/infrastructure/traefik/values.yaml b/infrastructure/traefik/values.yaml new file mode 100644 index 0000000..5a0ee50 --- /dev/null +++ b/infrastructure/traefik/values.yaml @@ -0,0 +1,21 @@ +# infrastructure/traefik/values.yaml +deployment: + kind: Deployment + +ports: + web: + port: 80 + websecure: + port: 443 + +# Aktiviere das Dashboard für die Übersicht (optional) +ingressRoute: + dashboard: + enabled: true + matchRule: Host(`traefik.home.local`) + entryPoints: ["web"] + +# Wichtig: Macht Traefik im Netzwerk erreichbar +service: + type: LoadBalancer + # Falls du MetalLB nutzt, könntest du hier Annotationen hinzufügen