From f552bc6a79c46d2b0694eb44eb77ff7666fb9cae Mon Sep 17 00:00:00 2001 From: Larison Carvalho Date: Wed, 2 Jun 2021 12:31:02 +0530 Subject: [PATCH] Update README.md Replace namespace in `./deploy/deployment.yaml` as well for OpenShift deployments --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dbf24b31..345c3b40 100644 --- a/README.md +++ b/README.md @@ -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 ```