Skip to content

feat(desktop): validate kubeconfig on desktop load #6791

Merged
mlhiter merged 5 commits intolabring:release-v5.1from
zjy365:pick-5.1-v5
Mar 13, 2026
Merged

feat(desktop): validate kubeconfig on desktop load #6791
mlhiter merged 5 commits intolabring:release-v5.1from
zjy365:pick-5.1-v5

Conversation

@zjy365
Copy link
Copy Markdown
Collaborator

@zjy365 zjy365 commented Mar 11, 2026

After kubeconfig rotation, other sessions holding the old kubeconfig are not kicked out. Add a validation check that uses the session's kubeconfig to call k8s API on desktop load. If the old token is revoked (401), the global axios interceptor automatically clears the session and redirects to the signin page.

@zjy365 zjy365 requested a review from a team as a code owner March 11, 2026 06:14
@zjy365 zjy365 added this to the v5.1 milestone Mar 11, 2026
@mlhiter
Copy link
Copy Markdown
Member

mlhiter commented Mar 11, 2026

tested? @zjy365

…ale sessions

After kubeconfig rotation, other sessions holding the old kubeconfig are
not kicked out. Add a validation check that uses the session's kubeconfig
to call k8s API on desktop load. If the old token is revoked (401), the
global axios interceptor automatically clears the session and redirects
to the signin page.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pull-request-size pull-request-size bot added size/L and removed size/M labels Mar 12, 2026
@mlhiter mlhiter merged commit ce4892a into labring:release-v5.1 Mar 13, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants