github.com/argoproj/argo-cd/v3@v3.2.1/applicationset/examples/list-generator/list-example-fasttemplate.yaml (about)

     1  apiVersion: argoproj.io/v1alpha1
     2  kind: ApplicationSet
     3  metadata:
     4    name: guestbook
     5  spec:
     6    generators:
     7    - list:
     8        elements:
     9        - cluster: engineering-dev
    10          url: https://kubernetes.default.svc
    11        - cluster: engineering-prod
    12          url: https://kubernetes.default.svc
    13    template:
    14      metadata:
    15        name: '{{cluster}}-guestbook'
    16      spec:
    17        project: default
    18        source:
    19          repoURL: https://github.com/argoproj/argo-cd.git
    20          targetRevision: HEAD
    21          path: applicationset/examples/list-generator/guestbook/{{cluster}}
    22        destination:
    23          server: '{{url}}'
    24          namespace: guestbook