kubernetes / dashboard

General-purpose web UI for Kubernetes clusters
Apache License 2.0
14.48k stars 4.17k forks source link

I can not install kubernetes-dashboard with helm. #9675

Open taogone opened 2 days ago

taogone commented 2 days ago

What happened?

This command is not working. "helm upgrade --install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --create-namespace --namespace kubernetes-dashboard"

When I had tried to install with above command, I had got following error messages.

Release "kubernetes-dashboard" does not exist. Installing it now. Error: template: kubernetes-dashboard/templates/secrets/csrf.yaml:24:6: executing "kubernetes-dashboard/templates/secrets/csrf.yaml" at <include "kubernetes-dashboard.app.csrf.secret.value" .>: error calling include: template: kubernetes-dashboard/templates/_helpers.tpl:95:63: executing "kubernetes-dashboard.app.csrf.secret.value" at <$secret.data>: wrong type for value; expected map[string]interface {}; got interface {}

How can I install kubernetes-dashboard.

OS: Ubuntu

What did you expect to happen?

install kubernetes-dashboard

How can we reproduce it (as minimally and precisely as possible)?

Try follow command.

"helm upgrade --install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --create-namespace --namespace kubernetes-dashboard"

Anything else we need to know?

No response

What browsers are you seeing the problem on?

No response

Kubernetes Dashboard version

Check above error message

Kubernetes version

Client Version: v1.30.6

Dev environment

No response

taogone commented 2 days ago

Kubernetes Server version is v1.29.10

floreks commented 2 days ago

Try updating helm to the latest version