Files
homelab/cluster/openshift-lightspeed-operator-appset.yaml
2025-07-27 20:11:06 -05:00

45 lines
1.1 KiB
YAML

---
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: internal
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