Skip to content

Commit a8f2389

Browse files
authored
Merge pull request #96949 from sr1kar99/15433-default-namespace
OSDOCS#15433: Updated the default namespace LVMS to openshift-lvm-storage
2 parents 94db61e + 098fbdb commit a8f2389

17 files changed

+57
-37
lines changed

modules/lvms-creating-lvmcluster-using-rhacm.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ apiVersion: policy.open-cluster-management.io/v1
2727
kind: ConfigurationPolicy
2828
metadata:
2929
name: lvms
30-
namespace: openshift-storage
30+
namespace: openshift-lvm-storage
3131
spec:
3232
object-templates:
3333
- complianceType: musthave
@@ -36,7 +36,7 @@ spec:
3636
kind: LVMCluster
3737
metadata:
3838
name: my-lvmcluster
39-
namespace: openshift-storage
39+
namespace: openshift-lvm-storage
4040
spec:
4141
storage:
4242
deviceClasses: <1>

modules/lvms-creating-lvms-cluster-using-cli.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ apiVersion: lvm.topolvm.io/v1alpha1
3636
kind: LVMCluster
3737
metadata:
3838
name: my-lvmcluster
39-
namespace: openshift-storage
39+
namespace: openshift-lvm-storage
4040
spec:
4141
# ...
4242
storage:

modules/lvms-creating-lvms-cluster-using-web-console.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ You can only create a single instance of the `LVMCluster` custom resource (CR) o
2727

2828
. Log in to the {product-title} web console.
2929
. Click *Operators* -> *Installed Operators*.
30-
. In the `openshift-storage` namespace, click *LVM Storage*.
30+
. In the `openshift-lvm-storage` namespace, click *{lvms}*.
3131
. Click *Create LVMCluster* and select either *Form view* or *YAML view*.
3232
. Configure the required `LVMCluster` CR parameters.
3333
. Click *Create*.

modules/lvms-deleting-lvmcluster-using-cli.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You can delete the `LVMCluster` custom resource (CR) using the OpenShift CLI (`o
2020
+
2121
[source,terminal]
2222
----
23-
$ oc delete lvmcluster <lvm_cluster_name> -n openshift-storage
23+
$ oc delete lvmcluster <lvm_cluster_name> -n <namespace>
2424
----
2525

2626
.Verification
@@ -35,5 +35,5 @@ $ oc get lvmcluster -n <namespace>
3535
.Example output
3636
[source,terminal]
3737
----
38-
No resources found in openshift-storage namespace.
38+
No resources found in openshift-lvm-storage namespace.
3939
----

modules/lvms-deleting-lvmcluster-using-rhacm.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ spec:
5656
apiVersion: lvm.topolvm.io/v1alpha1
5757
metadata:
5858
name: my-lvmcluster
59-
namespace: openshift-storage <2>
59+
namespace: openshift-lvm-storage <2>
6060
---
6161
apiVersion: policy.open-cluster-management.io/v1
6262
kind: PlacementBinding
@@ -87,7 +87,7 @@ spec:
8787
- myvalue
8888
----
8989
<1> The `spec.remediationAction` in `policy-template` is overridden by the preceding parameter value for `spec.remediationAction`.
90-
<2> This `namespace` field must have the `openshift-storage` value.
90+
<2> This `namespace` field must have the `openshift-lvm-storage` value.
9191
<3> Configure the requirements to select the clusters. {lvms} is uninstalled on the clusters that match the selection criteria.
9292

9393
. Create the `Policy` CR by running the following command:
@@ -129,7 +129,7 @@ spec:
129129
apiVersion: lvm.topolvm.io/v1alpha1
130130
metadata:
131131
name: my-lvmcluster
132-
namespace: openshift-storage <2>
132+
namespace: openshift-lvm-storage <2>
133133
---
134134
apiVersion: policy.open-cluster-management.io/v1
135135
kind: PlacementBinding
@@ -160,7 +160,7 @@ spec:
160160
- myvalue
161161
----
162162
<1> The `policy-template` `spec.remediationAction` is overridden by the preceding parameter value for `spec.remediationAction`.
163-
<2> The `namespace` field must have the `openshift-storage` value.
163+
<2> The `namespace` field must have the `openshift-lvm-storage` value.
164164

165165
. Create the `Policy` CR by running the following command:
166166
+

modules/lvms-deleting-lvmcluster-using-web-console.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ You can delete the `LVMCluster` custom resource (CR) using the {product-title} w
1717

1818
. Log in to the {product-title} web console.
1919
. Click *Operators**Installed Operators* to view all the installed Operators.
20-
. Click *LVM Storage* in the `openshift-storage` namespace.
20+
. Click *{lvms}* in the `openshift-lvm-storage` namespace.
2121
. Click the *LVMCluster* tab.
2222
. From the *Actions*, select *Delete LVMCluster*.
2323
. Click *Delete*.

modules/lvms-installing-logical-volume-manager-operator-using-cli.adoc

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88

99
As a cluster administrator, you can install {lvms} by using the OpenShift CLI.
1010

11+
[NOTE]
12+
====
13+
The default namespace for the {lvms} Operator is `openshift-lvm-storage`.
14+
====
15+
1116
.Prerequisites
1217

1318
* You have installed the OpenShift CLI (`oc`).
@@ -28,7 +33,7 @@ metadata:
2833
pod-security.kubernetes.io/enforce: privileged
2934
pod-security.kubernetes.io/audit: privileged
3035
pod-security.kubernetes.io/warn: privileged
31-
name: openshift-storage
36+
name: openshift-lvm-storage
3237
----
3338

3439
. Create the namespace by running the following command:
@@ -47,7 +52,7 @@ apiVersion: operators.coreos.com/v1
4752
kind: OperatorGroup
4853
metadata:
4954
name: openshift-storage-operatorgroup
50-
namespace: openshift-storage
55+
namespace: openshift-lvm-storage
5156
spec:
5257
targetNamespaces:
5358
- openshift-storage
@@ -69,7 +74,7 @@ apiVersion: operators.coreos.com/v1alpha1
6974
kind: Subscription
7075
metadata:
7176
name: lvms
72-
namespace: openshift-storage
77+
namespace: openshift-lvm-storage
7378
spec:
7479
installPlanApproval: Automatic
7580
name: lvms-operator
@@ -90,7 +95,7 @@ $ oc create -f <file_name>
9095
+
9196
[source,terminal]
9297
----
93-
$ oc get csv -n openshift-storage -o custom-columns=Name:.metadata.name,Phase:.status.phase
98+
$ oc get csv -n openshift-lvm-storage -o custom-columns=Name:.metadata.name,Phase:.status.phase
9499
----
95100
+
96101
.Example output

modules/lvms-installing-logical-volume-manager-operator-using-openshift-web-console.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88

99
You can install {lvms} by using the {product-title} web console.
1010

11+
[NOTE]
12+
====
13+
The default namespace for the {lvms} Operator is `openshift-lvm-storage`.
14+
====
15+
1116
.Prerequisites
1217

1318
* You have access to the cluster.
@@ -22,7 +27,7 @@ You can install {lvms} by using the {product-title} web console.
2227
.. *Update Channel* as *stable-{product-version}*.
2328
.. *Installation Mode* as *A specific namespace on the cluster*.
2429
.. *Installed Namespace* as *Operator recommended namespace openshift-storage*.
25-
If the `openshift-storage` namespace does not exist, it is created during the operator installation.
30+
If the `openshift-lvm-storage` namespace does not exist, it is created during the operator installation.
2631
.. *Update approval* as *Automatic* or *Manual*.
2732
+
2833
[NOTE]

modules/lvms-installing-logical-volume-manager-operator-using-rhacm.adoc

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,24 +91,24 @@ spec:
9191
pod-security.kubernetes.io/enforce: privileged
9292
pod-security.kubernetes.io/audit: privileged
9393
pod-security.kubernetes.io/warn: privileged
94-
name: openshift-storage
94+
name: openshift-lvm-storage
9595
- complianceType: musthave
9696
objectDefinition: <3>
9797
apiVersion: operators.coreos.com/v1
9898
kind: OperatorGroup
9999
metadata:
100100
name: openshift-storage-operatorgroup
101-
namespace: openshift-storage
101+
namespace: openshift-lvm-storage
102102
spec:
103103
targetNamespaces:
104-
- openshift-storage
104+
- openshift-lvm-storage
105105
- complianceType: musthave
106106
objectDefinition: <4>
107107
apiVersion: operators.coreos.com/v1alpha1
108108
kind: Subscription
109109
metadata:
110110
name: lvms
111-
namespace: openshift-storage
111+
namespace: openshift-lvm-storage
112112
spec:
113113
installPlanApproval: Automatic
114114
name: lvms-operator
@@ -134,3 +134,8 @@ Upon creating the `Policy` CR, the following custom resources are created on the
134134
* `Namespace`
135135
* `OperatorGroup`
136136
* `Subscription`
137+
138+
[NOTE]
139+
====
140+
The default namespace for the {lvms} Operator is `openshift-lvm-storage`.
141+
====

modules/lvms-scaling-storage-of-clusters-using-rhacm.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ spec:
4242
kind: LVMCluster
4343
metadata:
4444
name: my-lvmcluster
45-
namespace: openshift-storage
45+
namespace: openshift-lvm-storage
4646
spec:
4747
storage:
4848
deviceClasses:

0 commit comments

Comments
 (0)