also remove the command that creates an unnecessary SCC
This commit is contained in:
parent
0869cb9ec6
commit
09a32a7aad
|
|
@ -60,7 +60,6 @@ On OpenShift the service account used to bind volumes does not have the necessar
|
|||
$ NAMESPACE=`oc project -q`
|
||||
$ sed -i'' "s/namespace:.*/namespace: $NAMESPACE/g" ./deploy/rbac.yaml
|
||||
$ oc create -f deploy/rbac.yaml
|
||||
$ oc create role use-scc-hostmount-anyuid --verb=use --resource=scc --resource-name=hostmount-anyuid -n $NAMESPACE
|
||||
$ oc adm policy add-scc-to-user hostmount-anyuid system:serviceaccount:$NAMESPACE:nfs-client-provisioner
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue