-
Notifications
You must be signed in to change notification settings - Fork 530
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
[feature request] Support GOOGLE_APPLICATION_CREDENTIALS #700
Comments
The current GCP auth is here: https://github.com/kubernetes-client/javascript/blob/master/src/cloud_auth.ts#L21 The right thing to do is probably to break GCP out into it's own file (that authenticator supports both Azure and GCP currently) and create a Then you will need to figure out the right implementation of the authenticator interface. |
So I did a minimal amount of work on this yesterday just to check to see if you were happy with the direction. I noticed that there weren't any tests for the cloudauth class so I copied some of the basic tests from I could do with some guidance on the testing front, even just giving me some pointers on things to test. I am not all that familiar with k8s authentication methods so I don't know if the placeholder tests that I copied from |
There are a bunch of tests for the cloud provider in If you split out all of the tests with Thanks! |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs 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 and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
In #623 (comment) you mention that
The current GCP authentication doesn't support that environment variable (GOOGLE_APPLICATION_CREDENTIALS)
and that you wouldn't mind a PR.I'm opening this PR to keep track of the feature request and maybe to open up the discussion on how to achieve this. I'm happy to take a crack at it but I really don't have a clue where to start and would love a few pointers 👍
The text was updated successfully, but these errors were encountered: