-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
dashboard CrashLoopBackOff: secrets is forbidden: User "system:serviceaccount:kube-system:default" cannot create resource #3493
Comments
I run into this issue too. I can confirm that this is a permission issue with the default service account in the kube-system namespace.
fixes this issue but I think we shouldn't extend the permissions of the default service account and use a dashboard service account instead. |
Do you mind checking if minikube v0.33 suffers this same behavior? The dashboard implementation has been changed around a bit. Using a specific dashboard service account sounds like a good way to go. PR's welcome! |
This comes back in |
i met this problem on
|
@panhow I just had the same situation as you. Can anyone help to take a look~ |
I still met the same problem on mac.
|
this work for me:
|
Exact same issue. The solution from @unlikezy works for me as well. FYI i was running minkube v1.3.1 on a VM Ubuntu Server 18.04.3 LTS running minikube with --vm-driver=none |
How should I make it work on deploying the K8s dashboard through a Helm chart..? I am getting the same error. This is my values file
|
@sunilkumarvytla Did you manage to resolve this? |
it will work with helm chart using this value: rbac:
clusterAdminRole: true However granting cluster admin access is very risky |
After realizing that the chart kubectl apply -f \
https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta4/aio/deploy/recommended.yaml However, this is not acceptable to migrate from helm chart to hard coded manifests.. helm repository add kubernetes-dashboard https://kubernetes.github.io/dashboard/
helm install kubernetes-dashboard/kubernetes-dashboard --name my-release Good luck! By the way:
Good luck! |
BUG REPORT :
Environment:
What happened:
The text was updated successfully, but these errors were encountered: