Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Cache-TTL is ignored #10438

@A-Crawford

Description

@A-Crawford

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions