apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: argo-rollouts
  namespace: argocd
spec:
  project: default
  destination:
    namespace: kube-devops
    server: https://kubernetes.default.svc
  sources:
    - repoURL: https://argoproj.github.io/argo-helm
      chart: argo-rollouts
      targetRevision: 2.41.0
      helm:
        valueFiles:
          - $values/argo-rollouts/eu-central-1/values.yaml
    - repoURL: git@git.janis-eccarius.de:NowChess/Gitops.git
      path: ./argo-rollouts/eu-central-1
      ref: values
      targetRevision: main

  syncPolicy:
    automated:
      prune: true
      selfHeal: true
  ignoreDifferences:
    - group: 'apiextensions.k8s.io'
      kind: CustomResourceDefinition
      jsonPointers:
        - /spec/preserveUnknownFields
