headlamp-k8s / headlamp

A Kubernetes web UI that is fully-featured, user-friendly and extensible
https://headlamp.dev
Apache License 2.0
2.03k stars 150 forks source link

How to create service account token for Kubernetes v1.29.x ? #1893

Open alanpeng opened 5 months ago

alanpeng commented 5 months ago

A service account token was created but does not work with Kubernetes v1.29.x.

https://headlamp.dev/docs/latest/installation/#create-a-service-account-token

image

There are no issues with versions lower than v1.29.x.

joaquimrocha commented 2 months ago

@ashu8912 Can you take a look?

illume commented 1 month ago

Trying to reproduce this...

I will try in-cluster headlamp with service token next.

Headlamp app works when I tried with k8s 1.29.0 via minikube with the app (not in-cluster) on WSL Ubuntu 22.04. image

illume commented 1 month ago

Using current main branch, it's working for me.

minikube, WSL Ubuntu 22.04, Kubernetes 1.29.0, in-cluster with service token.

image