uninstall all
This commit is contained in:
40
cluster/temp/openshift-lightspeed-operator-appset.yaml
Normal file
40
cluster/temp/openshift-lightspeed-operator-appset.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
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: {} # Variable is .name
|
||||
- list: # Variable is .cluster
|
||||
elements:
|
||||
- cluster: 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
|
||||
Reference in New Issue
Block a user