user674669
user674669

Reputation: 12342

Can I run minikube without any RBAC?

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

enter image description here

Upvotes: 0

Views: 1562

Answers (1)

A_Suh
A_Suh

Reputation: 3936

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

Upvotes: 6

Related Questions