Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skaffold build --platform=linux/arm64,linux/amd64 gives unauthorized error in certain cases #7812

Closed
aaron-prindle opened this issue Aug 25, 2022 · 0 comments · Fixed by #7814

Comments

@aaron-prindle
Copy link
Contributor

aaron-prindle commented Aug 25, 2022

repro steps

gcloud container clusters get-credentials integration-tests-hybird --zone us-central1-a --project k8s-skaffold (a cluster that is in a different project/no-perms for --default-repo=)

skaffold build --platform=linux/arm64,linux/amd64 --default-repo=gcr.io/aprindle-test-cluster

GET https://gcr.io/v2/aprindle-test-cluster/skaffold-example/manifests/sha256:68360b979a3bca7baebd93147549b02f1814c6ba972b9be6a7e731b67df0c414: UNAUTHORIZED: You don't have the needed permissions to perform this operation, and you may have invalid credentials. To authenticate your request, follow the steps in: https://cloud.google.com/container-registry/docs/advanced-authentication

full logs:
https://gist.github.com/aaron-prindle/6ebf1470bfc35423ad55006e53ea818b

@aaron-prindle aaron-prindle changed the title skaffold build --platform=linux/arm64,linux/amd64 gives unauthorized error skaffold build --platform=linux/arm64,linux/amd64 gives unauthorized error in certain cases Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant