Can I run minikube without any RBAC?

5/1/2019

Can we run minikube without RBAC. Please see the attached screenshot. Looks like RBAC is enabled by default.

enter image description here

-- user674669
kubernetes
kubernetes-apiserver
minikube

1 Answer

5/28/2019

Since minikube v0.26.0 the default bootstrapper is kubeadm - which enables RBAC by default.

For the previous versions, you have to explicitly enable it by adding a flag

-extra-config=apiserver.Authorization.Mode=RBAC

Otherwise it will not be enabled

To disable RBAC in latest versions of the minikube, set following flag

--extra-config=apiserver.authorization-mode=AlwaysAllow

If it won't work, try workaround suggested here

-- A_Suh
Source: StackOverflow