IBM Cloud Private 上的 Cloud Automation Manager 内部服务错误
Cloud Automation Manager Internal Service Error on IBM Cloud Private
我正在尝试通过 ICP 安装 CAM,但我经常收到此错误:
json error:
Object { message: "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: \nDeny \"docker.io/store/ibmcorp/icam-bpd-cds:3.1.0.0-x86_64\", no
matching repositories in ClusterImagePolicy and no ImagePolicies in the
\"services\" namespace", statusCode: 500 }
reducerCatalogDetails.js:255:8
有谁知道为什么会出现此内部服务错误?
创建一个 imagepolicy.yaml 文件:
apiVersion: securityenforcement.admission.cloud.ibm.com/v1beta1
kind: ImagePolicy
metadata:
name: image-policy
spec:
repositories:
- name: "docker.io/store/ibmcorp/*"
policy: null
和kubectl apply -f imagepolicy.yaml -n services
IBM Container Image Security Enforcement - 有关详细说明,请参阅 https://www.ibm.com/support/knowledgecenter/SSBS6K_3.1.0/manage_images/image_security.html。
可以创建或扩展现有策略 - ImagePolicy 或 ClusterImagePolicy,具体取决于要允许的范围。注意:ImagePolicy 会覆盖给定命名空间的 ClusterImagePolicy,因此请注意包含所有允许的内容。
我正在尝试通过 ICP 安装 CAM,但我经常收到此错误:
json error:
Object { message: "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: \nDeny \"docker.io/store/ibmcorp/icam-bpd-cds:3.1.0.0-x86_64\", no
matching repositories in ClusterImagePolicy and no ImagePolicies in the
\"services\" namespace", statusCode: 500 }
reducerCatalogDetails.js:255:8
有谁知道为什么会出现此内部服务错误?
创建一个 imagepolicy.yaml 文件:
apiVersion: securityenforcement.admission.cloud.ibm.com/v1beta1
kind: ImagePolicy
metadata:
name: image-policy
spec:
repositories:
- name: "docker.io/store/ibmcorp/*"
policy: null
和kubectl apply -f imagepolicy.yaml -n services
IBM Container Image Security Enforcement - 有关详细说明,请参阅 https://www.ibm.com/support/knowledgecenter/SSBS6K_3.1.0/manage_images/image_security.html。
可以创建或扩展现有策略 - ImagePolicy 或 ClusterImagePolicy,具体取决于要允许的范围。注意:ImagePolicy 会覆盖给定命名空间的 ClusterImagePolicy,因此请注意包含所有允许的内容。