Failed to pull image “registry.txstxjkfzcy.top/formu-ocr:tongxiang-3”: rpc error: code = Unknown desc = failed to pull and unpack image “registry.txstxjkfzcy.top/formu-ocr:tongxiang-3”: failed to resolve reference “registry.txstxjkfzcy.top/formu-ocr:tongxiang-3”: failed to do request: Head “https://registry.txstxjkfzcy.top/v2/formu-ocr/manifests/tongxiang-3”: tls: failed to verify certificate: x509: certificate is valid for ingress.local, not registry.txstxjkfzcy.top
registry.txstxjkfzcy.top为虚拟域名
rke2版本:v1.27.12-rke2r1
容器:使用默认的containerd
rke2安装路径自定义,对应参数:data-dir
镜像配置:/etc/rancher/rke2/registries.yaml
“registry.txstxjkfzcy.top”:
tls:
insecure_skip_verify: true
请问上面错误要怎么解决?