apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: turash-backend namespace: argocd labels: app: turash-backend environment: production finalizers: - resources-finalizer.argocd.argoproj.io spec: project: default source: repoURL: https://github.com/SamyRai/turash.git targetRevision: master path: k8s directory: recurse: true include: "*.yaml" exclude: "*.template" destination: server: https://kubernetes.default.svc namespace: turash 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 revisionHistoryLimit: 10 ignoreDifferences: - group: apps kind: Deployment jsonPointers: - /spec/replicas - group: autoscaling kind: HorizontalPodAutoscaler jsonPointers: - /spec/minReplicas - /spec/maxReplicas