github.com/argoproj/argo-cd/v3@v3.2.1/applicationset/examples/git-generator-files-discovery/git-generator-files.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    template:
    15      metadata:
    16        name: '{{.cluster.name}}-guestbook'
    17      spec:
    18        project: default
    19        source:
    20          repoURL: https://github.com/argoproj/argo-cd.git
    21          targetRevision: HEAD
    22          path: "applicationset/examples/git-generator-files-discovery/apps/guestbook"
    23        destination:
    24          server: https://kubernetes.default.svc
    25          #server: '{{.cluster.address}}'
    26          namespace: guestbook