Skip to content

Commit

Permalink
Merge pull request #108 from larisoncarvalho/larisoncarvalho-patch-1
Browse files Browse the repository at this point in the history
Update sed command for OpenShift in README.md
  • Loading branch information
k8s-ci-robot authored Jun 29, 2021
2 parents 5c0dd02 + f552bc6 commit e289a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ On OpenShift the service account used to bind volumes does not have the necessar
```sh
# Set the subject of the RBAC objects to the current namespace where the provisioner is being deployed
$ NAMESPACE=`oc project -q`
$ sed -i'' "s/namespace:.*/namespace: $NAMESPACE/g" ./deploy/rbac.yaml
$ sed -i'' "s/namespace:.*/namespace: $NAMESPACE/g" ./deploy/rbac.yaml ./deploy/deployment.yaml
$ oc create -f deploy/rbac.yaml
$ oc adm policy add-scc-to-user hostmount-anyuid system:serviceaccount:$NAMESPACE:nfs-client-provisioner
```
Expand Down

0 comments on commit e289a21

Please sign in to comment.