Minikube gcp-auth credentials empty in Google Cloud Shell #9651
Labels
area/provider/gcp
Issues or PRs related to gcp provider
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Milestone
Steps to reproduce the issue:
minikube addons enable gcp-auth --alsologtostderr
. Note that nothing is written to the/var/lib/minikube/google_application_credentials.json
fileFrom the logs:
minikube ssh
and thenstat /var/lib/minikube/google_application_credentials.json
to see that the file is in fact empty.From the logs:
It looks like
google.FindDefaultCredentials()
returnsCredentials.JSON
, which "may be nil if authentication is provided by the environment and not with a credentials file, e.g. when code is running on Google Cloud Platform."Full output of failed command:
The text was updated successfully, but these errors were encountered: