choerodon 0.24 部署过程拉取harbor验证失败

  • Choerodon平台版本:0.24

  • 运行环境:自主搭建
    Harbor 使用第三方正式证书
    k8s + contrainerd

  • 问题描述:

项目CD部署到k8s 的是时候提示:
Successfully assigned dev/app0001-66889b9b86-sc8sf to 10.64.21.141
Pulling image “c7n-harbor.xxxxx.com/operation-firstproject/app0001:2021.3.23-181614-master
Failed to pull image “c7n-harbor.xxxxx.com/operation-firstproject/app0001:2021.3.23-181614-master”: rpc error: code = Unknown desc = failed to pull and unpack image “c7n-harbor.xxxxx.com/operation-firstproject/app0001:2021.3.23-181614-master”: failed to resolve reference “c7n-harbor.xxxxx.com/operation-firstproject/app0001:2021.3.23-181614-master”: failed to authorize: failed to fetch oauth token: unexpected status: 403 Forbidden
Error: ErrImagePull
Error: ImagePullBackOff

其中 把在k8s master 节点使用 kubectl apply -f deployment.yaml 的方式可以正常部署

设置把harbor 项目管理里面把仓库设置为 公开,也一样的错误。请问事什么情况呢?

使用 crictl 命令行可以正常拉取镜像吗?