Trying to add gcp-auth
addon fails despite having run gcloud auth login
#9215
Labels
area/provider/gcp
Issues or PRs related to gcp provider
kind/documentation
Categorizes issue or PR as related to documentation.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
ux/embedded
Embedded UX blockers
Trying to add the
gcp-auth
addon fails despite having rungcloud auth login
. This is confusing because the CLI error message💣 Could not find any GCP credentials. Either run 'gcloud auth login' or set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the path of your credentials file.
and the docs at https://minikube.sigs.k8s.io/docs/handbook/addons/gcp-auth/ make it sound like runninggcloud auth login
should fix the error.It seems like what I needed to do was run
gcloud auth application-default login
. When I rungcloud auth application-default login
and thenminikube addons enable gcp-auth
, it seems to work correctly.Should this have worked with just
gcloud auth login
?Steps to reproduce the issue:
The text was updated successfully, but these errors were encountered: