-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kubernetes: Fix hangs when connecting
If a kube config has no user data for a context kubectl prompts. Unfortunately there is no way to stop this. So only run kubectl version when when know we have a user with a auth-provider section. Make sure this is the default user by using --minify to get the current user only. Closes #7707 Fixes #7688 Reviewed-by: Stef Walter <stefw@redhat.com>
- Loading branch information
1 parent
2bed810
commit f5473bf
Showing
1 changed file
with
33 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters