Chapter 6. Installing Red Hat OpenShift 3.11 on IBM PowerVC 139
7. Create a secret with the PowerVC user name and password:
8. Download the power-openstack-k8s-volume-driver file from this web page.
9. Check the driver configuration parameters:
To get the value of OPENSTACK_CERT_DATA, run the following command on the 
PowerVC server:
oc create secret generic -n $NS powervc-secret \
    --from-literal=OS_USERNAME=ocpadmin \
    --from-literal=OS_PASSWORD=<password>
secret/powervc-secret created
wget 
https://raw.githubusercontent.com/IBM/power-openstack-k8s-volume-driver/master/
template/ibm-powervc-k8s-volume-driver-template.yaml
--2019-11-24 10:18:54--  
https://raw.githubusercontent.com/IBM/power-openstack-k8s-volume-driver/master/template/ibm-powervc-k8s-volume-dri
ver-template.yaml
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 199.232.36.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|199.232.36.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14005 (14K) [text/plain]
Saving to: ‘ibm-powervc-k8s-volume-driver-template.yaml’
100%[========================================================================>] 14,005      --.-K/s   in 0.07s   
2019-11-24 10:18:55 (189 KB/s) - ‘ibm-powervc-k8s-volume-driver-template.yaml’ saved [14005/14005]
oc process --parameters -n $NS -f ibm-powervc-k8s-volume-driver-template.yaml
NAME                            DESCRIPTION GENERATOR           VALUE
OPENSTACK_IP_OR_HOSTNAME        IP address or host name of the PowerVC management server. It will be used to 
construct the PowerVC authentication URL.                                                   
OPENSTACK_CRED_SECRET_NAME      Name of the pre-created Secret object that contains the PowerVC admin username and 
password.                                                                             
OPENSTACK_CERT_DATA             Paste the contents (in PEM) from the /etc/pki/tls/certs/powervc.crt file. If left 
blank, certificate verification is not done, which is insecure.                        
OPENSTACK_PROJECT_NAME          The project to use. The specified PowerVC user must have the administrator role in 
this project.                                                                         ibm-default
OPENSTACK_DOMAIN_NAME           The name of the project domain for the PowerVC user. Default
DRIVER_FLEX_PLUGIN_DIR          The directory that Kubernetes uses for the FlexVolume driver. Keep the default 
value unless the --flex-volume-plugin-dir flag has been overridden. 
/usr/libexec/kubernetes/kubelet-plugins/volume/exec/
DRIVER_VOLUME_TYPE              The name or ID of the default storage class's volume type (storage template). This 
can specify the default storage details for persistent volumes.                       
DRIVER_DFLT_STG_CLASS           The default storage class is used if no storage class is specified when creating a 
persistent volume claim.                                                              true
IMAGE_PROVISIONER_REPO          Name and location of the provisioner docker image repository.                                                                                                            
ibmcom/power-openstack-k8s-volume-provisioner
IMAGE_PROVISIONER_TAG           Tag or label for the provisioner docker image. The default value is the only 
supported version.                                                                          1.0.2
IMAGE_FLEX_VOLUME_REPO          Name and location of the flexvolume docker image repository.                                                                                                             
ibmcom/power-openstack-k8s-volume-flex
IMAGE_FLEX_VOLUME_TAG           Tag or label for the flexvolume docker image. The default value is the only 
supported version.                                                                           1.0.2