diff --git a/modules/persistent-storage-csi-secrets-store-driver-install-cli.adoc b/modules/persistent-storage-csi-secrets-store-driver-install-cli.adoc new file mode 100644 index 000000000000..d2b0e4c1307f --- /dev/null +++ b/modules/persistent-storage-csi-secrets-store-driver-install-cli.adoc @@ -0,0 +1,53 @@ +// Module included in the following assemblies: +// +// * storage/container_storage_interface/persistent-storage-csi-secrets-store.adoc +// + +:_mod-docs-content-type: PROCEDURE +[id="persistent-storage-csi-secrets-store-driver-install-cli_{context}"] += Installing the {secrets-store-driver} by using the CLI + +[role="_abstract"] +The {secrets-store-driver} is typically installed in namespace `openshift-cluster-csi-drivers` which is already present in the cluster as part of installation of the cluster storage Operator. + +.Prerequisites + +The namespace and the operatorgroup must exist already. + +.Procedure + +. Create a `Subscription` object by defining a YAML file with the following content: ++ +The following is an example of a `subscription.yaml` file. ++ +[source,yaml] +---- +apiVersion: operators.coreos.com/v1alpha1 +kind: Subscription +metadata: +  name: secrets-store-csi-driver-operator +  namespace: openshift-cluster-csi-drivers +spec: +  channel: stable +  installPlanApproval: Automatic +  name: secrets-store-csi-driver-operator +  source: redhat-operators +  sourceNamespace: openshift-marketplace +---- + +. create the driver with a command: ++ +[source,terminal] +---- +$ cat <