Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock token cache file before authentication #1126

Merged
merged 7 commits into from
Sep 21, 2024

Conversation

int128
Copy link
Owner

@int128 int128 commented Aug 17, 2024

Resolves #628.

This will replace the global lock with the token cache lock. It locks the token cache file (typically ~/.kube/token-cache/*) before authentication.

For a multi-user environment, this allows concurrent running processes.

@int128 int128 force-pushed the int128/Lock-token-cache-file-in-authentication branch from a58d39e to 4f3a54c Compare August 18, 2024 02:37
@int128 int128 force-pushed the int128/Lock-token-cache-file-in-authentication branch from 5aa9df6 to 033b916 Compare September 21, 2024 04:37
@int128 int128 changed the title Lock token cache file in authentication Lock token cache file before authentication Sep 21, 2024
@int128 int128 marked this pull request as ready for review September 21, 2024 05:40
@int128 int128 merged commit 3d114bf into master Sep 21, 2024
19 checks passed
@int128 int128 deleted the int128/Lock-token-cache-file-in-authentication branch September 21, 2024 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lock file may conflict with another user on a machine
1 participant