Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation about enabling RBAC in minikube #498

Merged
merged 2 commits into from
Aug 23, 2018

Conversation

migmartri
Copy link
Contributor

Minikube 0.26+ fails to start if the flag --Authorization.Mode is passed with the error

error: unknown flag: --Authorization.Mode

This updates the docs to use the configuration that Kubeadm understands.

kubernetes/minikube#2712 (comment)

Copy link
Contributor

@prydonius prydonius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@migmartri
Copy link
Contributor Author

Actually now I am not sure if this is needed. Doesn't kubeadm now bootstraps with RBAC enabled by default? cc/ @prydonius @andresmgot

@prydonius
Copy link
Contributor

@migmartri I wasn't 100% sure tbh, but indeed it looks like from 0.26+ kubeadm is the default bootstrapper and RBAC is enabled by default: kubernetes/minikube#1722 (comment).

@prydonius
Copy link
Contributor

Can you update the doc to just have minikube start

@andresmgot
Copy link
Contributor

yes, I confirm that RBAC is enabled by default in the latest minikube (I tried with v0.28.2) so minikube start is enough. Thanks for checking!

@@ -44,7 +44,7 @@ This builds the `tiller-proxy` binary in the working directory.
If you are using Minikube it is important to start the cluster enabling RBAC (in order to check the authorization features):

```
minikube start --extra-config=apiserver.Authorization.Mode=RBAC
minikube start --extra-config=apiserver.authorization-mode=RBAC
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove --extra-config parameter

Copy link
Contributor

@prydonius prydonius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@migmartri migmartri merged commit 4afd10a into master Aug 23, 2018
@migmartri migmartri deleted the migmartri-patch-1 branch August 23, 2018 21:09
@Jokero
Copy link

Jokero commented Sep 20, 2018

https://kubernetes.io/docs/setup/minikube/#examples should also be updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants