--- apiVersion: argoproj.io/v1alpha1 kind: ApplicationSet metadata: name: lightspeed-operator namespace: openshift-gitops finalizers: - resources-finalizer.argocd.argoproj.io spec: goTemplate: true goTemplateOptions: ["missingkey=error"] generators: - list: elements: - cluster: cluster1 url: https://api.cluster1.chx.osecloud.com:6443 # - clusters: # selector: # matchLabels: # name: "internal" template: metadata: name: '{{.cluster}}-openshift-lightspeed' annotations: argocd.argoproj.io/sync-wave: "2" spec: project: default source: repoURL: https://github.com/rblundon/homelab.git targetRevision: HEAD path: cluster/openshift-lightspeed-operator/overlays/{{.cluster}} destination: name: '{{.cluster}}' namespace: openshift-lightspeed syncPolicy: automated: prune: true selfHeal: true syncOptions: - RespectIgnoreDifferences=true - CreateNamespace=true managedNamespaceMetadata: labels: argocd.argoproj.io/managed-by: openshift-gitops