# 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.filename}} # <-- FIXED # spec: # project: dev-tools # source: # repoURL: https://git.dvirlabs.com/dvirlabs/secrets-gitops.git # targetRevision: master # path: cluster-secretstores # directory: # recurse: false # include: '{{path.filename}}' # destination: # server: https://kubernetes.default.svc # namespace: dev-tools # syncPolicy: # automated: # prune: true # selfHeal: true