apiVersion: argoproj.io/v1alpha1 kind: ApplicationSet metadata: name: cluster-secretstores namespace: argocd spec: generators: - git: repoURL: https://git.dvirlabs.com/dvirlabs/secrets-gitops.git revision: master files: - path: cluster-secretstores/*.yaml template: metadata: name: cluster-secretstore-{{path.basename}} spec: project: dev-tools source: repoURL: https://git.dvirlabs.com/dvirlabs/secrets-gitops.git targetRevision: master path: cluster-secretstores directory: recurse: false destination: server: https://kubernetes.default.svc namespace: dev-tools syncPolicy: automated: prune: true selfHeal: true