diff --git a/modules/compliance-operator-cli-installation.adoc b/modules/compliance-operator-cli-installation.adoc index 55c975b547..a95cf06278 100644 --- a/modules/compliance-operator-cli-installation.adoc +++ b/modules/compliance-operator-cli-installation.adoc @@ -11,14 +11,9 @@ .Procedure -. Create a `Namespace` object YAML file by running: +. Define a `Namespace` object: + -[source,terminal] ----- -$ oc create -f .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 .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 .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] ====