From 0f41fc4eb43bfa930757564c95593c8fe243f33f Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Thu, 22 May 2025 21:34:18 +0300 Subject: [PATCH] Fix appset --- applicationsets/cluster-secretstores-appset.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/applicationsets/cluster-secretstores-appset.yaml b/applicationsets/cluster-secretstores-appset.yaml index 148db87..65abd1c 100644 --- a/applicationsets/cluster-secretstores-appset.yaml +++ b/applicationsets/cluster-secretstores-appset.yaml @@ -8,8 +8,8 @@ spec: - git: repoURL: https://git.dvirlabs.com/dvirlabs/secrets-gitops.git revision: master - directories: - - path: cluster-secretstores/* + files: + - path: cluster-secretstores/*.yaml template: metadata: name: cluster-secretstore-{{path.basename}} @@ -18,9 +18,10 @@ spec: source: repoURL: https://git.dvirlabs.com/dvirlabs/secrets-gitops.git targetRevision: master - path: '{{path}}' + path: cluster-secretstores directory: - recurse: true + recurse: false + include: '{{path.basename}}.yaml' destination: server: https://kubernetes.default.svc namespace: monitoring