Skip to content

Commit

Permalink
Add missing step to in-cluster-client-configuration example
Browse files Browse the repository at this point in the history
If the permissions are not setup correctly the example fails.

Change-Id: I167ef68be66f8b56740236ae475c3b7fdcc0dfb5

Kubernetes-commit: d222c310aaa4ce8777094f4a37a920982aff794d
  • Loading branch information
dims authored and k8s-publishing-bot committed Sep 28, 2018
1 parent dcf16a0 commit 61a2477
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion examples/in-cluster-client-configuration/README.md
Expand Up @@ -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:

Expand Down

0 comments on commit 61a2477

Please sign in to comment.