kubernetes: Fix hangs when connecting
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 <8a7fbf0f15d3ad982af54ef28f5c117d2494b76c@redhat.com>
harishanand95/cockpit,mvollmer/cockpit,Scribery/cockpit,SotolitoLabs/cockpit,cockpituous/cockpit,stefwalter/cockpit,andreasn/cockpit,Scribery/cockpit,cockpit-project/cockpit,SotolitoLabs/cockpit,larskarlitski/cockpit,larsu/cockpit,moraleslazaro/cockpit,cockpituous/cockpit,petervo/cockpit,deryni/cockpit,mareklibra/cockpit,deryni/cockpit,larskarlitski/cockpit,petervo/cockpit,mareklibra/cockpit,andreasn/cockpit,deryni/cockpit,SotolitoLabs/cockpit,martinpitt/cockpit,deryni/cockpit,cockpit-project/cockpit,larsu/cockpit,moraleslazaro/cockpit,mvollmer/cockpit,martinpitt/cockpit,mareklibra/cockpit,harishanand95/cockpit,harishanand95/cockpit,andreasn/cockpit,garrett/cockpit,petervo/cockpit,deryni/cockpit,stefwalter/cockpit,andreasn/cockpit,moraleslazaro/cockpit,Scribery/cockpit,stefwalter/cockpit,garrett/cockpit,harishanand95/cockpit,moraleslazaro/cockpit,stefwalter/cockpit,moraleslazaro/cockpit,petervo/cockpit,larskarlitski/cockpit,andreasn/cockpit,larsu/cockpit,cockpit-project/cockpit,andreasn/cockpit,cockpit-project/cockpit,petervo/cockpit,larskarlitski/cockpit,larskarlitski/cockpit,mareklibra/cockpit,SotolitoLabs/cockpit,harishanand95/cockpit,harishanand95/cockpit,cockpituous/cockpit,petervo/cockpit,martinpitt/cockpit,andreasn/cockpit,martinpitt/cockpit,deryni/cockpit,cockpituous/cockpit,mvollmer/cockpit,SotolitoLabs/cockpit,petervo/cockpit,Scribery/cockpit,larskarlitski/cockpit,garrett/cockpit,cockpit-project/cockpit,stefwalter/cockpit,larsu/cockpit,stefwalter/cockpit,cockpituous/cockpit,larsu/cockpit,mareklibra/cockpit,stefwalter/cockpit,cockpituous/cockpit,garrett/cockpit,SotolitoLabs/cockpit,harishanand95/cockpit,mareklibra/cockpit,moraleslazaro/cockpit,mareklibra/cockpit,Scribery/cockpit,garrett/cockpit,mvollmer/cockpit,Scribery/cockpit,martinpitt/cockpit,Scribery/cockpit,deryni/cockpit,moraleslazaro/cockpit,mvollmer/cockpit,SotolitoLabs/cockpit,larsu/cockpit,larskarlitski/cockpit