secrets-gitops/applicationsets/cluster-secretstores-appset.yaml
2025-05-22 21:34:18 +03:00

32 lines
829 B
YAML

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: operators
source:
repoURL: https://git.dvirlabs.com/dvirlabs/secrets-gitops.git
targetRevision: master
path: cluster-secretstores
directory:
recurse: false
include: '{{path.basename}}.yaml'
destination:
server: https://kubernetes.default.svc
namespace: monitoring
syncPolicy:
automated:
prune: true
selfHeal: true