apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: argo-system

resources:
  - resources/namespace.yaml
  - resources/secret.git-age.yaml
  - resources/configmap.git.yaml
  - resources/dragonfly.yml
  - resources/http_routes.yaml

images:
  - name: argocd
    newName: code.icb4dc0.de/infrastructure/images/argocd
    newTag: v2.13.1

labels:
- includeSelectors: true
  pairs:
    app.kubernetes.io/managed-by: kustomize
    app.kubernetes.io/part-of: argocd

helmCharts:
  - name: argo-cd
    repo: https://argoproj.github.io/argo-helm
    releaseName: argo-cd
    namespace: argo-system
    version: "7.7.5"
    valuesFile: config/values.argo-cd.yaml
    apiVersions:
      - monitoring.coreos.com/v1