Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dfang/03cc54de6821834017c1a988d0e0d72f to your computer and use it in GitHub Desktop.
Save dfang/03cc54de6821834017c1a988d0e0d72f to your computer and use it in GitHub Desktop.
Minikube RBAC Quick Start
minikube start --extra-config=apiserver.authorization-mode=RBAC
kubectl create clusterrolebinding add-on-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-system:default
minikube dashboard
@dfang
Copy link
Author

dfang commented Nov 21, 2018

this fix

secrets is forbidden: User "system:serviceaccount:kube-system:default" cannot create secrets in the namespace "kube-system"

on minikube version: v0.30.0 when running "minikube dashboard"

@dfang
Copy link
Author

dfang commented Nov 2, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment