Files
homelab/cluster/openshift-lightspeed-operator-appset.yaml

41 lines
1.0 KiB
YAML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
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:
- clusters:
selector:
matchLabels:
name: "internal"
template:
metadata:
name: '{{.name}}-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/{{.name}}
destination:
name: '{{.name}}'
namespace: openshift-lightspeed
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- RespectIgnoreDifferences=true
- CreateNamespace=true
managedNamespaceMetadata:
labels:
argocd.argoproj.io/managed-by: openshift-gitops