Files
home-argocd/root-app.yaml
T
2024-03-18 19:27:12 +11:00

23 lines
628 B
YAML

# follow this link https://opensource.com/article/21/7/automating-argo-cd to add central app to auto discovery other apps
# Application reference https://argo-cd.readthedocs.io/en/stable/user-guide/application-specification/
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: root-app
namespace: argocd
spec:
project: default
syncPolicy:
retry:
limit: 2
automated:
prune: true
selfHeal: true
source:
repoURL: git@github.com:wahyd4/home-argocd.git
targetRevision: HEAD
path: manifests
destination:
server: https://kubernetes.default.svc
namespace: argocd