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 3687085
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,21 @@ 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.
Minikube now has RBAC authorization enabled by default.

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 3687085

Please sign in to comment.