GCP-auth runs into Invalid OAuth scope or ID token audience provided.
when the service account only has access to the Artifact Registry.
#19328
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
What Happened?
I created a minikube instance with gcp-auth addon. The service key was passed to the addon via the env variable.
GCP auth does not create a secret as expected. Looking at the logs:
The key works is a read only key for GCP Artifact Registry .
Looking at similar issues, probably the reason is that a
scope
needs to be passed: https://developers.google.com/identity/protocols/oauth2/service-account#error-codesAttach the log file
log.txt
Operating System
Ubuntu
Driver
KVM2
The text was updated successfully, but these errors were encountered: