Files
cluster/bootstrap/root-app.yaml
T
2026-10-13 12:00:13 +02:00

21 lines
652 B
YAML

# bootstrap/root-app.yaml — de "app-of-apps"
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: root
namespace: argocd
spec:
project: default
source:
repoURL: https://gitea.zb-kw.duckdns.org/willemjan/cluster.git
targetRevision: main
path: apps # elke yaml hierin = één Application
directory:
recurse: true
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true # wat uit Git verdwijnt, verdwijnt uit het cluster
selfHeal: true # handmatige kubectl-wijzigingen worden teruggedraaid