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/*.yaml template: metadata: name: prod-{{basenameNormalized}} spec: project: default source: repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git targetRevision: HEAD chart: ngnix-message helm: valueFiles: - services/{{path.basename}} # ✅ correct relative path to value files destination: server: https://kubernetes.default.svc namespace: prod syncPolicy: automated: selfHeal: true prune: true