1111
1212.Procedure
1313
14- . Create a `Namespace` object YAML file by running :
14+ . Define a `Namespace` object:
1515+
16- [source,terminal]
17- ----
18- $ oc create -f <file-name>.yaml
19- ----
20- +
21- .Example output
16+ .Example `namespace-object.yaml`
2217[source,yaml]
2318----
2419apiVersion: v1
@@ -28,15 +23,16 @@ metadata:
2823 openshift.io/cluster-monitoring: "true"
2924 name: openshift-compliance
3025----
31-
32- . Create the `OperatorGroup` object YAML file by running:
26+ . Create the `Namespace` object:
3327+
3428[source,terminal]
3529----
36- $ oc create -f <file-name> .yaml
30+ $ oc create -f namespace-object .yaml
3731----
32+
33+ . Define an `OperatorGroup` object:
3834+
39- .Example output
35+ .Example `operator-group-object.yaml`
4036[source,yaml]
4137----
4238apiVersion: operators.coreos.com/v1
@@ -49,14 +45,16 @@ spec:
4945 - openshift-compliance
5046----
5147
52- . Create the `Subscription ` object YAML file by running :
48+ . Create the `OperatorGroup ` object:
5349+
5450[source,terminal]
5551----
56- $ oc create -f <file-name> .yaml
52+ $ oc create -f operator-group-object .yaml
5753----
54+
55+ . Define a `Subscription` object:
5856+
59- .Example output
57+ .Example `subscription-object.yaml`
6058[source,yaml]
6159----
6260apiVersion: operators.coreos.com/v1alpha1
7169 source: redhat-operators
7270 sourceNamespace: openshift-marketplace
7371----
72+ . Create the `Subscription` object:
73+ +
74+ [source,terminal]
75+ ----
76+ $ oc create -f subscription-object.yaml
77+ ----
7478
7579[NOTE]
7680====
0 commit comments