apiVersion: argoproj.io/v1alpha1 kind: ApplicationSet metadata: name: {{ _template.name }} namespace: {{ _template.namespace }} spec: generators: - git: repoURL: https://git.{{ vapp['metacluster.fqdn'] }}/mc/ArgoCD.Config.git revision: HEAD directories: - path: metacluster-applicationset/* template: metadata: name: {% raw %}'{{ path.basename }}'{% endraw %} spec: project: default syncPolicy: automated: prune: true selfHeal: true source: repoURL: https://git.{{ vapp['metacluster.fqdn'] }}/mc/ArgoCD.Config.git targetRevision: HEAD path: {% raw %}'{{ path }}'{% endraw %} destination: server: https://{{ vapp['guestinfo.ipaddress'] }}:6443 namespace: default