feat: initial bootstrap manifests for argocd and gitea

This commit is contained in:
HDW
2026-04-19 18:19:54 +02:00
parent 92780cef3b
commit c681473bd1
2 changed files with 45 additions and 0 deletions

View File

@@ -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

View File

@@ -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