29 lines
962 B
YAML
29 lines
962 B
YAML
# Root App-of-Apps. Its only job is to sync the child Applications in
|
|
# argocd/apps/ (one per environment). Apply this ONCE by hand; Argo owns the
|
|
# rest. Bootstrap: kubectl apply -f planpalto-helm/argocd/root-app.yaml
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: planpal-root
|
|
namespace: argocd
|
|
# keep the root around if you ever `kubectl delete` it by accident
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
project: default
|
|
source:
|
|
# In-cluster Gitea. Argo talks to Gitea over the cluster network, so no
|
|
# ingress or TLS is needed for this hop. Change org/repo to match your push.
|
|
repoURL: http://gitea-http.gitea.svc.cluster.local:3000/planpal/ch4.git
|
|
targetRevision: HEAD
|
|
path: planpalto-helm/argocd/apps
|
|
directory:
|
|
recurse: true
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: argocd
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|