错误:(gcloud.run.deploy)用户[]无权访问命名空间实例[my-project](或可能不存在):Google Cloud Run Service Agent无权获取服务帐户的访问令牌[email protected].请提供服务1122233445566@serverless-robot-prod.iam.gserviceaccount.com在服务帐户上的许可iam.serviceaccounts.getaccesstoken。另外,如果服务帐户未指定或在您部署的同一项目中,请确保为服务代理分配了Google Cloud Run Service Agent角色角色/run.serviceagent。
对于精明的非GCP,我应该确切启用什么?我将访问创建者令牌
添加到所有相关的服务帐户中,这无济于事。我遵循了其他类似问题的所有建议,没有任何效果。
启用类似的东西怎么是如此复杂?
谢谢
ERROR: (gcloud.run.deploy) User [[email protected]] does not have permission to access namespaces instance [my-project] (or it may not exist): Google Cloud Run Service Agent does not have permission to get access tokens for the service account [email protected]. Please give service-112233445566@serverless-robot-prod.iam.gserviceaccount.com permission iam.serviceAccounts.getAccessToken on the service account. Alternatively, if the service account is unspecified or in the same project you are deploying in, ensure that the Service Agent is assigned the Google Cloud Run Service Agent role roles/run.serviceAgent.
For a non-GCP savvy, what should I enable exactly? I added Access Creator Token
to all relevant service accounts and it didn't help. I followed all suggestions from other similar questions and nothing worked.
How come it's so complex to enable something like that?
Thank you
发布评论