feat: initial bootstrap manifests for argocd and gitea
This commit is contained in:
24
infrastructure/traefik/application.yaml
Normal file
24
infrastructure/traefik/application.yaml
Normal 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
|
||||
21
infrastructure/traefik/values.yaml
Normal file
21
infrastructure/traefik/values.yaml
Normal 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
|
||||
Reference in New Issue
Block a user