github.com/argoproj/argo-cd/v3@v3.2.1/applicationset/examples/git-generator-directory/git-directories-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/cluster-addons/*
    13    template:
    14      metadata:
    15        name: '{{path.basename}}'
    16      spec:
    17        project: "my-project"
    18        source:
    19          repoURL: https://github.com/argoproj/argo-cd.git
    20          targetRevision: HEAD
    21          path: '{{path}}'
    22        destination:
    23          server: https://kubernetes.default.svc
    24          namespace: '{{path.basename}}'
    25        syncPolicy:
    26          syncOptions:
    27          - CreateNamespace=true