Files
gitops/repo-gitops/cluster/production/whoami.yaml
2026-01-10 21:43:12 +00:00

21 lines
592 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: whoami
namespace: argocd
spec:
project: default
source:
repoURL: https://git.stabify.de/stabify/gitops.git
targetRevision: HEAD
path: apps/whoami/overlays/production # Zeigt auf das Overlay, nicht die Base!
destination:
server: https://kubernetes.default.svc
namespace: default # Ziel-Namespace der App
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true # Erstellt den Namespace 'default' falls nicht vorhanden (oder 'whoami-ns')