github.com/argoproj/argo-cd/v2@v2.10.9/applicationset/examples/clusterDecisionResource/ducktype-example-fasttemplate.yaml (about)

     1  apiVersion: argoproj.io/v1alpha1
     2  kind: ApplicationSet
     3  metadata:
     4    name: book-import
     5  spec:
     6    generators:
     7      - clusterDecisionResource:
     8          configMapRef: ocm-placement
     9          name: test-placement
    10          requeueAfterSeconds: 30
    11    template:
    12      metadata:
    13        name: '{{clusterName}}-book-import'
    14      spec:
    15        project: "default"
    16        source:
    17          repoURL: https://github.com/open-cluster-management/application-samples.git
    18          targetRevision: HEAD
    19          path: book-import
    20        destination:
    21          name: '{{clusterName}}'
    22          namespace: bookimport
    23        syncPolicy:
    24          automated:
    25            prune: true
    26          syncOptions:
    27            - CreateNamespace=true