Open seperman opened 1 month ago
Thanks for creating the issue, does that prevent the addon from being enabled and attaching the secrets to the pods ?
I would be happy to review a PR that fixes this
Hi @medyagh
Thanks for the prompt response. Yes, it doesn't create any secrets so in my case, I get ImagePullBackOff
because the pods can't authenticate to GCP Artifact Registry.
Unfortunately I don't have enough experience with Go to take the initiative to make a PR for an important project like Minikube.
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