简体   繁体   English

IBM Cloud:需要更新代码引擎应用程序的服务 ID 的最低权限?

[英]IBM Cloud: Least privileges for service ID that needs to update a Code Engine app?

I am using IBM Cloud Code Engine to deploy my containerized apps.我正在使用 IBM Cloud Code Engine 来部署我的容器化应用程序。 Now, I would like to use a service ID (or its API key) to run a toolchain and within to update an already existing app.现在,我想使用服务 ID(或其 API 密钥)来运行工具链并在其中更新现有的应用程序。 What privileges are needed to push the new container image to a private registry and to update the app from that image?将新容器镜像推送到私有注册表并从该镜像更新应用程序需要哪些权限?

It seems the following privileges are needed.似乎需要以下权限。 They can be created as access policies within an IBM Cloud IAM access group .它们可以创建为IBM Cloud IAM 访问组中的访问策略。 The service ID is then added to that access group.然后将服务 ID 添加到该访问组。

  • Viewer on resources limited to the resource group with the Code Engine project.资源的查看者仅限于代码引擎项目的资源组。 That way, the resource group can be set and the project be seen.这样,就可以设置资源组并查看项目。
  • Operator and Writer for Container Registry, to be able to push a new container image. Container Registry 的 Operator 和 Writer,以便能够推送新的容器映像。
  • Operator and Writer for Code Engine , scoped to just the project, to be able to update the app. 代码引擎的操作员和编写器,范围仅限于项目,以便能够更新应用程序。

With the above privileges my pipeline could run successfully.有了以上权限,我的管道就可以成功运行了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 IBM Cloud Code Engine:当应用程序不活动时如何检查日志? - IBM Cloud Code Engine: How to check logs when app not active? IBM Cloud:如何将 Db2 Warehouse 绑定到 Code Engine 应用程序? - IBM Cloud: How to bind Db2 Warehouse to Code Engine app? IBM Cloud Code Engine:如何从环境中确定应用程序 URL? - IBM Cloud Code Engine: How to determine app URL from environment? 在IBM Cloud Kubernetes Service中使用IBM App ID时,不会触发认证过程 - Authentication Process is not triggered when using IBM App ID in IBM Cloud Kubernetes Service IBM Cloud Code Engine:如何在没有 CLI 的情况下从 GitLab 源部署应用程序 - IBM Cloud Code Engine: How can I deploy an app from GitLab source without CLI IBM Cloud Code Engine:流量拆分时应用程序修订的不同响应时间 - IBM Cloud Code Engine: Different response times for app revisions when traffic is split IBM Cloud Code Engine 无法为私有存储库构建 - IBM Cloud Code Engine fails to build for private repo IBM Cloud Code Engine:有状态应用程序和粘性会话、扩展问题 - IBM Cloud Code Engine: Stateful Apps and Sticky Sessions, Scaling Issues IBM Cloud:尝试创建 Code Engine 项目时出错 - IBM Cloud: Error trying to create Code Engine project 如何在具有服务ID的IBM Cloud上创建Kubernetes集群? - How to create Kubernetes cluster on IBM Cloud with service ID?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM