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: env-sets/dev/services/*.yaml template: metadata: name: '{{ .path.basename | trimSuffix ".yaml" | nameNormalized }}' spec: project: sandbox source: repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git targetRevision: HEAD chart: ngnix-message helm: valueFiles: - env-sets/dev/services/{{ .path.basename }} destination: server: https://kubernetes.default.svc namespace: dev syncPolicy: automated: selfHeal: true prune: true