apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: portfolio namespace: argocd annotations: argocd.argoproj.io/sync-wave: "0" finalizers: - resources-finalizer.argocd.argoproj.io spec: project: portfolio source: repoURL: http://git.home.lan/jay/k8s-gitops.git targetRevision: main path: apps/portfolio destination: server: https://kubernetes.default.svc namespace: portfolio syncPolicy: automated: prune: true selfHeal: true syncOptions: - ApplyOutOfSyncOnly=true - PruneLast=true retry: limit: 5 backoff: duration: 5s factor: 2 maxDuration: 1m