Configure Red Hat OpenShift deployment

For Red Hat OpenShift, the following configuration settings must be performed on the deployment.

Log in with a user that has the cluster-admin role, then execute the following commands:

oc new-project paw
oc adm policy add-scc-to-user nonroot -z pa-config-secret -n paw
oc adm policy add-scc-to-user nonroot -z default -n paw

If the storage provider configured for your cluster requires that the ownership of the mounted volumes be changed within the pods, then execute the following additional commands:

oc create serviceaccount pa-allow-rootuid -n paw
oc adm policy add-scc-to-user anyuid -z pa-allow-rootuid -n paw
Note: Replace paw in the above commands if you have overridden the default project value.