apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: cm-app
  namespace: openshift-gitops
spec:
  project: default
  destination:
    server: https://kubernetes.default.svc
    namespace: cert-manager-operator
  source:
    repoURL: https://github.com/mytreya-rh/external-secrets-gitops
    path: cm_istio
    targetRevision: main
  syncPolicy:
    automated:
      prune: true
      selfHeal: true
    syncOptions:
      - CreateNamespace=true
    retry:
      limit: 50

