github.com/argoproj/argo-cd/v3@v3.2.1/applicationset/examples/git-generator-files-discovery/excludes/git-files-exclude-example.yaml (about)

     1  apiVersion: argoproj.io/v1alpha1
     2  kind: ApplicationSet
     3  metadata:
     4    name: guestbook
     5  spec:
     6    goTemplate: true
     7    goTemplateOptions: ["missingkey=error"]
     8    generators:
     9      - git:
    10          repoURL: https://github.com/argoproj/argo-cd.git
    11          revision: HEAD
    12          files:
    13            - path: "applicationset/examples/git-generator-files-discovery/cluster-config/**/config.json"
    14            - path: "applicationset/examples/git-generator-files-discovery/cluster-config/*/dev/config.json"
    15              exclude: true
    16    template:
    17      metadata:
    18        name: '{{.cluster.name}}-guestbook'
    19      spec:
    20        project: default
    21        source:
    22          repoURL: https://github.com/argoproj/argo-cd.git
    23          targetRevision: HEAD
    24          path: "applicationset/examples/git-generator-files-discovery/apps/guestbook"
    25        destination:
    26          server: https://kubernetes.default.svc
    27          namespace: guestbook