部署CAM时发生内部错误:准入Webhook错误

时间:2018-09-25 19:58:19

标签: ibm-cloud-private cloud-automation-manager

我在部署CAM掌舵表时收到此错误代码:

Internal service error : rpc error: code = Unknown desc = release cam failed: Internal error occurred: admission webhook "trust.hooks.securityenforcement.admission.cloud.ibm.com" denied the request: Deny "mycluster.icp:8500/services/icam-bpd-cds:3.1.0.0-x86_64", no matching repositories in ClusterImagePolicy and no ImagePolicies in the "services" namespace

1 个答案:

答案 0 :(得分:0)

通过cmd行:

kubectl edit clusterimagepolicies $(kubectl get clusterimagepolicies --no-headers | awk ‘{print $1}’)

检查-name条目的列表。应该已经有东西了

mycluster.icp:8500/*

您可以尝试添加显式

-name mycluster.icp:8500/services/icam-bpd-cds:*

entry和 wq 编写并退出,看看是否有帮助。