Fixing documentation to be correct for Kubernetes
Converted from openshift command
(cherry picked from commit 5e95ea2ffe)
This commit is contained in:
parent
c4a7e76517
commit
2bcb474770
|
|
@ -20,7 +20,8 @@ Kubernetes:
|
|||
|
||||
```sh
|
||||
# Set the subject of the RBAC objects to the current namespace where the provisioner is being deployed
|
||||
$ NAMESPACE=`oc project -q`
|
||||
$ NS=$(kubectl config get-contexts|grep -e "^\*" |awk '{print $5}')
|
||||
$ NAMESPACE=${NS:-default}
|
||||
$ sed -i'' "s/namespace:.*/namespace: $NAMESPACE/g" ./deploy/rbac.yaml
|
||||
$ kubectl create -f deploy/rbac.yaml
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue