Secrets
Secret is needed to store credentials to connect to IBM Spectrum Scale REST API server. The GUI user must have csiadmin role.
Perform the following steps:
- Create a secret in the CSI namespace by issuing the following
command:
kubectl create secret generic [secret_name] --from-literal=username=[gui_username] --from-literal=password=[gui_password] -n ibm-spectrum-scale-csi-driver
- Apply the CSI product label to the
secret by issuing the following
command:
kubectl label secret [secret_name] product=ibm-spectrum-scale-csi -n ibm-spectrum-scale-csi-driver