-
Notifications
You must be signed in to change notification settings - Fork 68
Do not require application-default credentials #154
Comments
Thanks for filling this issue @ahmetb A patch will be most welcome :) |
I tried, it seems nontrivial. You likely need to specify a custom oauth2.TokenSource to all googleapi clients. |
Is this a Beta blocker? |
Shouldn't be. But I have reason to think it should be doable fairly easily. Projects like this code execs out to gcloud to get a token: then you should be able to use the client constructor/options to give a custom token source to the auto-generated clients. |
Yes if possible, we will try to get it in. Not a blocker |
Just waste some time due to this requirement. If the command
|
Do not require this command:
There are a lot of tools that depend on gcloud credentials that work without requiring this.
The way they do is to
and parse the token from there directly. This is also how
kubectl
authenticates to GKE.This step is (1) unnecessary (2) interferes with user's current ADC config (3) creates a side-effect on user's system (4) makes the kubemci tutorial longer. Please consider changing soon, or I may send a patch.
The text was updated successfully, but these errors were encountered: