staged next wave of operators to add and configure
This commit is contained in:
7
cluster/openshift-virtualization/hyperconverged.yaml
Normal file
7
cluster/openshift-virtualization/hyperconverged.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
apiVersion: hco.kubevirt.io/v1beta1
|
||||
kind: HyperConverged
|
||||
metadata:
|
||||
name: kubevirt-hyperconverged
|
||||
namespace: openshift-cnv
|
||||
spec: {}
|
||||
13
cluster/openshift-virtualization/kustomization.yaml
Normal file
13
cluster/openshift-virtualization/kustomization.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
commonAnnotations:
|
||||
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- subscription.yaml
|
||||
- operatorgroup.yaml
|
||||
- hyperconverged.yaml
|
||||
- storageprofile.yaml
|
||||
11
cluster/openshift-virtualization/namespace.yaml
Normal file
11
cluster/openshift-virtualization/namespace.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: openshift-cnv
|
||||
labels:
|
||||
name: openshift-cnv
|
||||
argocd.argoproj.io/managed-by: openshift-gitops-operator
|
||||
spec:
|
||||
finalizers:
|
||||
- kubernetes
|
||||
@@ -0,0 +1,33 @@
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: openshift-virtualization
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "4"
|
||||
spec:
|
||||
destination:
|
||||
name: in-cluster
|
||||
namespace: openshift-cnv
|
||||
project: default
|
||||
source:
|
||||
path: cluster-applications/openshift-virtualization
|
||||
repoURL: git@github.com:rblundon/MK-Labs.git
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- RespectIgnoreDifferences=true
|
||||
- CreateNamespace=true
|
||||
managedNamespaceMetadata:
|
||||
labels:
|
||||
argocd.argoproj.io/managed-by: openshift-gitops
|
||||
ignoreDifferences:
|
||||
- group: apps
|
||||
kind: Deployment
|
||||
jsonPointers:
|
||||
- /spec/replicas
|
||||
9
cluster/openshift-virtualization/operatorgroup.yaml
Normal file
9
cluster/openshift-virtualization/operatorgroup.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: operators.coreos.com/v1
|
||||
kind: OperatorGroup
|
||||
metadata:
|
||||
name: kubevirt-hyperconverged-group
|
||||
namespace: openshift-cnv
|
||||
spec:
|
||||
targetNamespaces:
|
||||
- openshift-cnv
|
||||
19
cluster/openshift-virtualization/storageprofile.yaml
Normal file
19
cluster/openshift-virtualization/storageprofile.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
apiVersion: cdi.kubevirt.io/v1beta1
|
||||
kind: StorageProfile
|
||||
metadata:
|
||||
name: synology-iscsi-storage
|
||||
spec:
|
||||
claimPropertySets:
|
||||
- accessModes:
|
||||
- ReadWriteOnce
|
||||
volumeMode:
|
||||
Block
|
||||
- accessModes:
|
||||
- ReadWriteMany
|
||||
volumeMode:
|
||||
Block
|
||||
cloneStrategy: csi-clone
|
||||
status:
|
||||
provisioner: csi.san.synology.com
|
||||
storageClass: synology-iscsi-storage
|
||||
12
cluster/openshift-virtualization/subscription.yaml
Normal file
12
cluster/openshift-virtualization/subscription.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
apiVersion: operators.coreos.com/v1alpha1
|
||||
kind: Subscription
|
||||
metadata:
|
||||
name: hco-operatorhub
|
||||
namespace: openshift-cnv
|
||||
spec:
|
||||
source: redhat-operators
|
||||
sourceNamespace: openshift-marketplace
|
||||
name: kubevirt-hyperconverged
|
||||
startingCSV: kubevirt-hyperconverged-operator.v4.16.0
|
||||
channel: "stable"
|
||||
Reference in New Issue
Block a user