apiVersion: argoproj.io/v1alpha1 kind: ApplicationSet metadata: name: dev-microservices namespace: argocd spec: generators: - git: repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git revision: HEAD files: - path: services/svc-*.yaml extract: appname: '{{ index .path.segments 3 | trimSuffix ".yaml" }}' template: metadata: name: '{{ appname }}-dev' spec: project: sandbox destination: server: https://kubernetes.default.svc namespace: dev source: repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git targetRevision: HEAD path: ngnix-message helm: valueFiles: - 'services/svc-*.yaml' syncPolicy: automated: prune: true selfHeal: true