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

gke-gcloud-auth-plugin does not honor CLOUDSDK_CONFIG env var #333

Closed
rustycl0ck opened this issue May 26, 2023 · 1 comment
Closed

gke-gcloud-auth-plugin does not honor CLOUDSDK_CONFIG env var #333

rustycl0ck opened this issue May 26, 2023 · 1 comment

Comments

@rustycl0ck
Copy link

Maybe not the right repository for filing this bug, but I couldn't find the correct repository. Please move this issue to whatever is the right repository for this.

Problem

As the title says, the gke-cloud-auth-plugin always prints the auth credentials for the default account.
It is impossible to use kubectl CLI with gke-cloud-auth-plugin with two different GKE clusters with two different GCP accounts because the CLOUDSDK_CONFIG environment variable is not honored by the auth plugin.
In addition to this, to choose another account, --account argument must be passed, but the args: parameter in ~/.kube/config is also not honored it seems.

@rustycl0ck
Copy link
Author

closing this in favor of kubernetes/cloud-provider-gcp#554

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

No branches or pull requests

1 participant