From ff372b8b4c921baa40aef44e59d6c25e9f7582be Mon Sep 17 00:00:00 2001 From: Suriya Date: Mon, 20 Jul 2026 11:27:26 +0530 Subject: [PATCH] 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 --- manifests/alaska/k8s-dashboard.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/manifests/alaska/k8s-dashboard.yaml b/manifests/alaska/k8s-dashboard.yaml index 94f5c3d..3de5b97 100644 --- a/manifests/alaska/k8s-dashboard.yaml +++ b/manifests/alaska/k8s-dashboard.yaml @@ -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