mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
OSDOCS-3189: CMP: Docs CI - Fix Steps 1-3 in Installing the CO using the CLI
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
f9e2ddd341
commit
b61509aaf2
@@ -11,14 +11,9 @@
|
||||
|
||||
.Procedure
|
||||
|
||||
. Create a `Namespace` object YAML file by running:
|
||||
. Define a `Namespace` object:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
$ oc create -f <file-name>.yaml
|
||||
----
|
||||
+
|
||||
.Example output
|
||||
.Example `namespace-object.yaml`
|
||||
[source,yaml]
|
||||
----
|
||||
apiVersion: v1
|
||||
@@ -28,15 +23,16 @@ metadata:
|
||||
openshift.io/cluster-monitoring: "true"
|
||||
name: openshift-compliance
|
||||
----
|
||||
|
||||
. Create the `OperatorGroup` object YAML file by running:
|
||||
. Create the `Namespace` object:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
$ oc create -f <file-name>.yaml
|
||||
$ oc create -f namespace-object.yaml
|
||||
----
|
||||
|
||||
. Define an `OperatorGroup` object:
|
||||
+
|
||||
.Example output
|
||||
.Example `operator-group-object.yaml`
|
||||
[source,yaml]
|
||||
----
|
||||
apiVersion: operators.coreos.com/v1
|
||||
@@ -49,14 +45,16 @@ spec:
|
||||
- openshift-compliance
|
||||
----
|
||||
|
||||
. Create the `Subscription` object YAML file by running:
|
||||
. Create the `OperatorGroup` object:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
$ oc create -f <file-name>.yaml
|
||||
$ oc create -f operator-group-object.yaml
|
||||
----
|
||||
|
||||
. Define a `Subscription` object:
|
||||
+
|
||||
.Example output
|
||||
.Example `subscription-object.yaml`
|
||||
[source,yaml]
|
||||
----
|
||||
apiVersion: operators.coreos.com/v1alpha1
|
||||
@@ -71,6 +69,12 @@ spec:
|
||||
source: redhat-operators
|
||||
sourceNamespace: openshift-marketplace
|
||||
----
|
||||
. Create the `Subscription` object:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
$ oc create -f subscription-object.yaml
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
====
|
||||
|
||||
Reference in New Issue
Block a user