apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: k8s-agent-dashboard namespace: argocd labels: app.kubernetes.io/name: k8s-agent-dashboard app.kubernetes.io/part-of: k8s-agent-system finalizers: - resources-finalizer.argocd.argoproj.io spec: project: default source: # Update this to your GitOps repo repoURL: https://gitea.example.com/user/gitops-repo.git targetRevision: HEAD path: apps/k8s-agent-dashboard destination: server: https://kubernetes.default.svc namespace: k8s-agent syncPolicy: automated: prune: true selfHeal: true allowEmpty: false syncOptions: - CreateNamespace=true - PrunePropagationPolicy=foreground - PruneLast=true retry: limit: 5 backoff: duration: 5s factor: 2 maxDuration: 3m # Health checks ignoreDifferences: - group: apps kind: Deployment jsonPointers: - /spec/replicas