【发布时间】:2019-05-29 14:15:22
【问题描述】:
当我尝试push a container image 到容器注册表时,它给了我以下错误,
拒绝:项目“my-proj-123”的令牌交换失败。调用者没有权限“storage.buckets.create”。要配置权限,请按照以下说明操作:https://cloud.google.com/container-registry/docs/access-control
我必须遵循Bucket Name Verification 流程才能创建artifacts.my-proj-123.appspot.com 存储桶。现在,当我尝试推送 docker 映像时,它不会抱怨 storage.buckets.create 权限,而只会给出:
拒绝:访问被拒绝。
我不知道我需要授予哪个用户访问权限。我授予 Storage Admin 对 Compute Engine 默认服务帐号 的访问权限,但无济于事。我该如何解决?
【问题讨论】:
标签: google-cloud-platform google-cloud-storage google-container-registry