Asking for help? Comment out what you need so we can get more information to help you!
Cluster information:
Kubernetes version: Client Version: v1.30.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.2
Helm v3.15.2
Cloud being used: (put bare-metal if not on a public cloud)
Installation method: helm upgrade --install kubernetes-dashboard
Host OS: Rocky Linux release 9.4 (Blue Onyx)
CNI and version:
CRI and version:
You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.
Trying to install Kubernetes-dashboard with helm.
-
helm repo add kubernetes-dashboard Installation | dashboard
-
helm upgrade --install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --create-namespace --namespace kubernetes-dashboard
Getting:
Release “kubernetes-dashboard” does not exist. Installing it now.
Error: Unable to continue with install: Secret “kubernetes-dashboard-csrf” in namespace “kubernetes-dashboard” exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key “app.kubernetes.io/managed-by”: must be set to “Helm”; annotation validation error: missing key “meta.helm.sh/release-name”: must be set to “kubernetes-dashboard”; annotation validation error: missing key “meta.helm.sh/release-namespace”: must be set to “kubernetes-dashboard”
Any help will be appreciated! Thanks in advance.