From 12afcc9e330eb80a960048db4c8d7155d784b376 Mon Sep 17 00:00:00 2001 From: Bob Furu Date: Mon, 26 Oct 2020 14:16:46 -0400 Subject: [PATCH] BZ1827131 - Update LSO wording --- modules/persistent-storage-local-install.adoc | 50 +++++++++---------- 1 file changed, 23 insertions(+), 27 deletions(-) diff --git a/modules/persistent-storage-local-install.adoc b/modules/persistent-storage-local-install.adoc index 8d98c1b905ed..d3822f431cae 100644 --- a/modules/persistent-storage-local-install.adoc +++ b/modules/persistent-storage-local-install.adoc @@ -56,39 +56,35 @@ Once finished, the Local Storage Operator will be listed in the *Installed Opera .From the CLI . Install the Local Storage Operator from the CLI. -.. Create an object YAML file to define a Namespace, OperatorGroup, and Subscription for the Local Storage Operator, +.. Create an object YAML file to define an Operator group and subscription for the Local Storage Operator, such as `local-storage.yaml`: + .Example local-storage [source,yaml] ---- - apiVersion: v1 - kind: Namespace - metadata: - name: local-storage +apiVersion: operators.coreos.com/v1alpha2 +kind: OperatorGroup +metadata: + name: local-operator-group + namespace: local-storage +spec: + targetNamespaces: + - local-storage --- - apiVersion: operators.coreos.com/v1alpha2 - kind: OperatorGroup - metadata: - name: local-operator-group - namespace: local-storage - spec: - targetNamespaces: - - local-storage - --- - apiVersion: operators.coreos.com/v1alpha1 - kind: Subscription - metadata: - name: local-storage-operator - namespace: local-storage - spec: - channel: "{product-version}" <1> - installPlanApproval: Automatic - name: local-storage-operator - source: redhat-operators - sourceNamespace: openshift-marketplace +apiVersion: operators.coreos.com/v1alpha1 +kind: Subscription +metadata: + name: local-storage-operator + namespace: local-storage +spec: + channel: <1> + installPlanApproval: Automatic <2> + name: local-storage-operator + source: redhat-operators + sourceNamespace: openshift-marketplace ---- <1> This field can be edited to match your release selection of {product-title}. +<2> The user approval policy for an install plan. . Create the Local Storage Operator object by entering the following command: + @@ -98,9 +94,9 @@ $ oc apply -f local-storage.yaml + At this point, the Operator Lifecycle Manager (OLM) is now aware of the Local Storage Operator. A ClusterServiceVersion (CSV) for the Operator should appear in the target namespace, and APIs provided by the Operator should be available for creation. + -. Verify local storage installation by checking that all Pods and the Local Storage Operator have been created: +. Verify local storage installation by checking that all pods and the Local Storage Operator have been created: -.. Check that all the required Pods have been created: +.. Check that all the required pods have been created: + ---- $ oc -n local-storage get pods