Skip to content

Commit

Permalink
Adjust for Minikube running RBAC by default
Browse files Browse the repository at this point in the history
  • Loading branch information
sftim committed Feb 27, 2019
1 parent a54963a commit b063416
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,20 @@ svc-cat/catalog 0.0.1 service-catalog API server and controller-manag...

Your Kubernetes cluster must have RBAC enabled, which requires your Tiller Pod(s) to have `cluster-admin` access.

If you are using Minikube, run the `minikube start` command with the following flag:
When using Minikube v0.25 or older, you must run Minikube with RBAC explicitly enabled:

```shell
minikube start --extra-config=apiserver.Authorization.Mode=RBAC
```

When using Minikube v0.26+, run:

```shell
minikube start
```

With Minikube v0.26+, do not specify `--extra-config`. The flag has since been changed to --extra-config=apiserver.authorization-mode and Minikube now uses RBAC by default. Specifying the older flag may cause the start command to hang.

If you are using `hack/local-up-cluster.sh`, set the `AUTHORIZATION_MODE` environment variable with the following values:

```
Expand Down

0 comments on commit b063416

Please sign in to comment.