When using the Headlamp UI to connect to Google Kubernetes Engine (GKE) clusters, the gke-gcloud-auth-plugin opens a new command line window on every connection. This issue only occurs on Windows and seems to be related to how external commands are executed in the LoadAndStoreKubeConfigs function.
Steps to Reproduce:
Use Headlamp on a Windows system.
Configure a GKE cluster using the gke-gcloud-auth-plugin.
Connect to the cluster via Headlamp.
Observe that a new command line window opens during authentication.
Expected Behavior:
Headlamp should authenticate with GKE in the background without opening additional command line windows.
Environment:
OS: Windows 10/11
Headlamp Version: (add your version here)
Kubernetes Cluster: GKE
Plugin: gke-gcloud-auth-plugin
Additional Context:
The issue might stem from how external commands are invoked in the LoadAndStoreKubeConfigs function. It would be helpful if the plugin execution could be run in a hidden/background mode, especially for Windows users.
Thank you for your time and consideration in looking into this!
When using the Headlamp UI to connect to Google Kubernetes Engine (GKE) clusters, the gke-gcloud-auth-plugin opens a new command line window on every connection. This issue only occurs on Windows and seems to be related to how external commands are executed in the LoadAndStoreKubeConfigs function.
Steps to Reproduce:
Expected Behavior: Headlamp should authenticate with GKE in the background without opening additional command line windows.
Environment:
Additional Context: The issue might stem from how external commands are invoked in the LoadAndStoreKubeConfigs function. It would be helpful if the plugin execution could be run in a hidden/background mode, especially for Windows users.
Thank you for your time and consideration in looking into this!