From fb4148e5f81057cd6a2b1e2840e3562516834446 Mon Sep 17 00:00:00 2001 From: mattjmcnaughton Date: Sun, 10 Feb 2019 15:17:45 -0500 Subject: [PATCH] Improve in-cluster-client-conf client-go docs Make a small formatting change to make it clear that you must take the RBAC actions regardless of whether you're using Minikube or not. --- .../examples/in-cluster-client-configuration/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/staging/src/k8s.io/client-go/examples/in-cluster-client-configuration/README.md b/staging/src/k8s.io/client-go/examples/in-cluster-client-configuration/README.md index eaa10e0fe1..6f42ca3575 100644 --- a/staging/src/k8s.io/client-go/examples/in-cluster-client-configuration/README.md +++ b/staging/src/k8s.io/client-go/examples/in-cluster-client-configuration/README.md @@ -25,7 +25,9 @@ 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. If you have RBAC enabled, use the following +that your Kubernetes cluster can pull from. + +If you have RBAC enabled on your cluster, use the following snippet to create role binding which will grant the default service account view permissions.