1.3.4.10. 为应用程序编辑角色错误
具有 Editor 角色的用户应只拥有应用程序的 read 或 update 授权。但这样的用户会错误地具有应用程序的 create 和 delete 的权限。Red Hat OpenShift Operator Lifecycle Manager 默认设置更改产品的设置。要解决这个问题,请遵循以下步骤:
-
运行
oc edit clusterrole applications.app.k8s.io-v1beta1-edit -o yaml以打开应用程序编辑集群角色。 -
从 verbs 列表中删除
create和delete。 - 保存更改。