Fix README.md
The previous `oc adm policy add-role-to-user use-scc-hostmount-anyuid` command was incorrect. Replacing it with the correct one
This commit is contained in:
parent
487b9092a6
commit
0869cb9ec6
|
|
@ -61,7 +61,7 @@ $ NAMESPACE=`oc project -q`
|
||||||
$ sed -i'' "s/namespace:.*/namespace: $NAMESPACE/g" ./deploy/rbac.yaml
|
$ sed -i'' "s/namespace:.*/namespace: $NAMESPACE/g" ./deploy/rbac.yaml
|
||||||
$ oc create -f 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 create role use-scc-hostmount-anyuid --verb=use --resource=scc --resource-name=hostmount-anyuid -n $NAMESPACE
|
||||||
$ oc adm policy add-role-to-user use-scc-hostmount-anyuid system:serviceaccount:$NAMESPACE:nfs-client-provisioner
|
$ oc adm policy add-scc-to-user hostmount-anyuid system:serviceaccount:$NAMESPACE:nfs-client-provisioner
|
||||||
```
|
```
|
||||||
|
|
||||||
**Step 4: Configure the NFS subdir external provisioner**
|
**Step 4: Configure the NFS subdir external provisioner**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue