Disable dashboard session timeout so login persists
Default --token-ttl is 900s (15min idle), which was forcing re-entry of the token repeatedly. Setting it to 0 makes a logged-in session persist instead of expiring back to the login screen. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -62,6 +62,13 @@ spec:
|
||||
args:
|
||||
- --auto-generate-certificates
|
||||
- --namespace=kubernetes-dashboard
|
||||
# Disables the default 15-minute idle session timeout, so a
|
||||
# logged-in session persists instead of dropping back to the
|
||||
# token screen. The service account token itself already
|
||||
# doesn't expire (it's a Secret-backed legacy token, not a
|
||||
# short-lived TokenRequest one) - this was purely the
|
||||
# dashboard's own session cache.
|
||||
- --token-ttl=0
|
||||
volumeMounts:
|
||||
- name: kubernetes-dashboard-certs
|
||||
mountPath: /certs
|
||||
|
||||
Reference in New Issue
Block a user