-
Notifications
You must be signed in to change notification settings - Fork 195
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
gke-gcloud-auth-plugin
: Support CLOUDSDK_CONFIG
env var
#554
Comments
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
Currently if I have two google accounts
[email protected]
and[email protected]
, with single GKE cluster in each account, then I can not use the current gke-gcloud-auth-plugin easily because it does not take into consideration theCLOUDSDK_CONFIG
env var1 which points to my current active account.Two issues here:
$ gke-gcloud-auth-plugin
always prints the cache value of~/.kube/gke_gcloud_auth_plugin_cache
even if I authenticated with a different account nowexport CLOUDSDK_AUTH_ACCESS_TOKEN=$(gcloud auth print-access-token)
to override the cache, then it still tries to find ADC credentials in~/.config/gcloud/application_default_credentials.json
but I have setCLOUDSDK_CONFIG
to something other than~/.config/gcloud
, so it fails with the following error:Footnotes
https://cloud.google.com/sdk/docs/configurations ↩
The text was updated successfully, but these errors were encountered: