gke-gcloud-auth-plugin
: Support passing credentials via a specific JSON filepath
#654
Labels
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Hi all,
Today, when you use
google-cloud-sdk-gke-gcloud-auth-plugin
you can rely onGOOGLE_APPLICATION_CREDENTIALS
via the--use_application_default_credentials
flag. However, theGOOGLE_APPLICATION_CREDENTIALS
is explicitely forbidden to be set in a Cloud Run by the documentation https://cloud.google.com/run/docs/securing/service-identity.This means if you try to create a Cloud Run job that needs to connect to a GKE cluster, you have to either dismiss the documentation warning or find a way to manually create the kubeconfig with all the information.
Would it be possible to add a flag such as ``--application_default_credentials_file` which, when not set, would default to the usual places, but when set would pick up the file.
The text was updated successfully, but these errors were encountered: