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

     1  apiVersion: argoproj.io/v1alpha1
     2  kind: ApplicationSet
     3  metadata:
     4    name: cluster-addons
     5    namespace: argocd
     6  spec:
     7    generators:
     8    - git:
     9        repoURL: https://github.com/argoproj/argo-cd.git
    10        revision: HEAD
    11        directories:
    12        - path: applicationset/examples/git-generator-directory/excludes/cluster-addons/*
    13        - exclude: true
    14          path: applicationset/examples/git-generator-directory/excludes/cluster-addons/exclude-helm-guestbook
    15    template:
    16      metadata:
    17        name: '{{path.basename}}'
    18      spec:
    19        project: "my-project"
    20        source:
    21          repoURL: https://github.com/argoproj/argo-cd.git
    22          targetRevision: HEAD
    23          path: '{{path}}'
    24        destination:
    25          server: https://kubernetes.default.svc
    26          namespace: '{{path.basename}}'
    27        syncPolicy:
    28          syncOptions:
    29          - CreateNamespace=true