apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: target-clusters-config
  namespace: argocd
spec:
  destination:
    name: in-cluster
    namespace: argocd
  project: default
  source:
    repoURL: https://github.com/tidbcloud/app-delivery.git
    path: argocd/cluster-secret
    targetRevision: HEAD
  syncPolicy:
    automated: # set automatically sync policy https://argo-cd.readthedocs.io/en/stable/user-guide/auto_sync/
      selfHeal: true
