apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: api-server-dev namespace: argocd annotations: argocd.argoproj.io/sync-wave: "20" argocd.argoproj.io/sync-options: Prune=confirm,Delete=confirm finalizers: - resources-finalizer.argocd.argoproj.io spec: project: apps-dev source: repoURL: https://git.learn.hyeonworks.com/donghyeon.kang/project-gitops targetRevision: main path: clusters/dev-k3s/manifests/api-server destination: server: https://kubernetes.default.svc namespace: api-dev syncPolicy: automated: enabled: true prune: true selfHeal: true syncOptions: - CreateNamespace=true - PruneLast=true - FailOnSharedResource=true retry: limit: 5 refresh: true backoff: duration: 5s factor: 2 maxDuration: 3m revisionHistoryLimit: 5