apiVersion: argoproj.io/v1alpha1 kind: ApplicationSet metadata: name: cluster-infra namespace: argocd spec: generators: - git: repoURL: https://github.com/dein-user/git-repo.git revision: HEAD directories: - path: 08_cluster_infrastructure/* template: metadata: name: '{{path.basename}}' spec: project: cluster-infra source: repoURL: https://github.com/dein-user/git-repo.git path: '{{path}}' helm: values: values-{{cluster.name}}.yaml # Env-spezifisch destination: server: https://kubernetes.default.svc namespace: '{{path.basename}}' syncPolicy: automated: {prune: true, selfHeal: true}