#10438·dashboard

Cache-TTL is ignored

Author: A-CrawfordCreated Dec 19, 2025Updated Dec 19, 2025
Labelskind/bug

What happened?

The dashboard user is signed out automatically after 5 minutes regardless of what --cache-ttl value is set in 'kubernetes-dashboard-web' yaml.

What did you expect to happen?

Setting the cache-ttl to 24h should stop users from being logged out automatically for at least 24 hours

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

Using the Helm chart to install and configure the latest version. Ouath2-Proxy as a authentication proxy and a nginx ingress. OIDC RBAC - GitLab as OIDC provider

Anything else we need to know?

I have tried configuring Oauth2-proxy cookie refresh to be different but that has no impact on when a user is automatically logged out. The users are always logged out after 5 minutes. If the cookie refresh is longer than the 5 minutes then the user is returned to the login page, and the login request fails with a 'invalid token'.

As far as I can see the /me/ request is still being passed an authorization header everytime, but the token becomes invalid after 5 minutes

What browsers are you seeing the problem on?

Chrome

Kubernetes Dashboard version

7.14.0

Kubernetes version

1.34

Dev environment

No response

Source: kubernetes-retired/dashboard