From ff45d73102399b9540359ba540b25fee035116c1 Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Fri, 23 May 2025 07:10:07 +0300 Subject: [PATCH] Fix duplicate apps --- applicationsets/cluster-secretstores-appset.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/applicationsets/cluster-secretstores-appset.yaml b/applicationsets/cluster-secretstores-appset.yaml index 817b5d8..958910a 100644 --- a/applicationsets/cluster-secretstores-appset.yaml +++ b/applicationsets/cluster-secretstores-appset.yaml @@ -5,11 +5,11 @@ metadata: namespace: argocd spec: generators: - - git: - repoURL: https://git.dvirlabs.com/dvirlabs/secrets-gitops.git - revision: master - files: - - path: cluster-secretstores/*.yaml + - 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 @@ -21,6 +21,7 @@ spec: path: cluster-secretstores directory: recurse: false + include: '{{path.filename}}' destination: server: https://kubernetes.default.svc namespace: dev-tools