apiVersion: argoproj.io/v1alpha1 kind: ApplicationSet metadata: name: prod-microservices namespace: argocd spec: generators: - git: repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git revision: HEAD files: - path: env-sets/prod/services/*/service.yaml template: metadata: name: '{{ path.basename }}-prod' spec: project: sandbox destination: server: https://kubernetes.default.svc namespace: prod sources: - repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git targetRevision: HEAD path: ngnix-message helm: valueFiles: - '$values/{{ .path.path }}/service.yaml' - repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git targetRevision: HEAD ref: values syncPolicy: automated: prune: true selfHeal: true