github.com/argoproj/argo-cd/v3@v3.2.1/applicationset/examples/design-doc/applicationset-fasttemplate.yaml (about)

     1  # This is an example of a typical ApplicationSet which uses the cluster generator.
     2  # An ApplicationSet is comprised with two stanzas:
     3  #  - spec.generator - producer of a list of values supplied as arguments to an app template
     4  #  - spec.template - an application template, which has been parameterized
     5  apiVersion: argoproj.io/v1alpha1
     6  kind: ApplicationSet
     7  metadata:
     8    name: guestbook
     9  spec:
    10    generators:
    11    - clusters: {}
    12    template:
    13      metadata:
    14        name: '{{name}}-guestbook'
    15      spec:
    16        source:
    17          repoURL: https://github.com/infra-team/cluster-deployments.git
    18          targetRevision: HEAD
    19          chart: guestbook
    20        destination:
    21          server: '{{server}}'
    22          namespace: guestbook