Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ztp: Adds LVM operator source crs for ZTP
Signed-off-by: Alberto Losada <alosadag@redhat.com>
- Loading branch information
1 parent
9509142
commit b667a8f
Showing
4 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: lvm.topolvm.io/v1alpha1 | ||
kind: LVMCluster | ||
metadata: | ||
name: odf-lvmcluster | ||
namespace: openshift-storage | ||
annotations: | ||
ran.openshift.io/ztp-deploy-wave: "10" | ||
spec: {} | ||
|
||
#example: creating a vg1 volume group leveraging all available disks on the node | ||
# except the installation disk. | ||
# storage: | ||
# deviceClasses: | ||
# - name: vg1 | ||
# thinPoolConfig: | ||
# name: thin-pool-1 | ||
# sizePercent: 90 | ||
# overprovisionRatio: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: Subscription | ||
metadata: | ||
name: odf-lvm-operator | ||
namespace: openshift-storage | ||
annotations: | ||
ran.openshift.io/ztp-deploy-wave: "2" | ||
spec: | ||
channel: "stable-4.11" | ||
name: odf-lvm-operator | ||
source: redhat-operators | ||
sourceNamespace: openshift-marketplace | ||
installPlanApproval: Manual | ||
status: | ||
state: AtLatestKnown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: openshift-storage | ||
labels: | ||
openshift.io/cluster-monitoring: "true" | ||
annotations: | ||
workload.openshift.io/allowed: management | ||
ran.openshift.io/ztp-deploy-wave: "2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apiVersion: operators.coreos.com/v1 | ||
kind: OperatorGroup | ||
metadata: | ||
name: odf-lvm-operator-operatorgroup | ||
namespace: openshift-storage | ||
annotations: | ||
ran.openshift.io/ztp-deploy-wave: "2" | ||
spec: | ||
targetNamespaces: | ||
- openshift-storage |