Privileges for creating a hostPath or NFS PVC for Db2
When deploying Db2 on Cloud Pak for Data, you must grant additional privileges before you use the web console to define storage parameters for creating a hostPath or NFS PVC.
Attention: Starting with IBM Cloud Pak for Data 4.6.0, support for hostPath is deprecated and will be discontinued in a
future release.
To add these privileges, run the following command on the OpenShift® cluster:
oc adm policy add-cluster-role-to-user system:controller:persistent-volume-binder system:serviceaccount:${NAMESPACE}:zen-databases-sa
After you run the command, the console is able to validate your selections for hostPath or NFS storage parameters.