mirror of
https://github.com/wahyd4/home-argocd.git
synced 2026-08-09 05:06:20 +10:00
23 lines
628 B
YAML
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
|