Files
gitops/repo-gitops/bootstrap/root-app.yaml
2026-01-10 21:43:12 +00:00

21 lines
661 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: production-cluster
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io # Löscht alle Apps, wenn diese App gelöscht wird (Vorsicht!)
spec:
project: default
source:
repoURL: https://git.stabify.de/stabify/gitops.git # URL DEINES GitOps Repos anpassen!
targetRevision: HEAD
path: cluster/production
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true # Löscht Ressourcen, die nicht mehr im Git sind
selfHeal: true # Repariert manuelle Änderungen automatisch