Add missing step to in-cluster-client-configuration example

If the permissions are not setup correctly the example fails.

Change-Id: I167ef68be66f8b56740236ae475c3b7fdcc0dfb5
This commit is contained in:
Davanum Srinivas 2018-09-28 14:46:01 -04:00
parent d204a90dcf
commit d222c310aa
No known key found for this signature in database
GPG Key ID: 80D83A796103BF59

View File

@ -25,7 +25,13 @@ build the image on Minikube:
docker build -t in-cluster .
If you are not using Minikube, you should build this image and push it to a registry
that your Kubernetes cluster can pull from.
that your Kubernetes cluster can pull from. If you have RBAC enabled, use the following
snippet to create role binding which will grant the default service account view
permissions.
```
kubectl create clusterrolebinding default-view --clusterrole=view --serviceaccount=default:default
```
Then, run the image in a Pod with a single instance Deployment: