apiVersion: argoproj.io/v1alpha1 kind: ApplicationSet metadata: name: universal-clusterissuer annotations: argocd.argoproj.io/sync-wave: "2" spec: generators: - list: elements: - cluster: cherry url: https://kubernetes.default.svc syncPolicy: applicationsSync: create-update preserveResourcesOnDeletion: true template: metadata: name: "{{cluster}}-http-clusterissuer" spec: project: infrastructure syncPolicy: automated: prune: true selfHeal: true source: path: clusterissuer/ repoURL: https://github.com/vojtechmares/gitops.git targetRevision: HEAD destination: server: "{{url}}" namespace: default