diff --git a/modules/persistent-storage-local-install.adoc b/modules/persistent-storage-local-install.adoc index 96efb8b04480..a2721353a9da 100644 --- a/modules/persistent-storage-local-install.adoc +++ b/modules/persistent-storage-local-install.adoc @@ -59,39 +59,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: + @@ -102,9 +98,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: + [source,terminal] ----