apiVersion: argoproj.io/v1alpha1 kind: ApplicationSet metadata: name: {{ _template.name }} namespace: {{ _template.namespace }} spec: generators: - git: repoURL: ssh://git@gitea-ssh.gitea.svc.cluster.local/mc/GitOps.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: ssh://git@gitea-ssh.gitea.svc.cluster.local/mc/GitOps.Config.git targetRevision: HEAD path: {% raw %}'{{ path }}'{% endraw +%} destination: server: https://kubernetes.default.svc namespace: default