Openshift 4.x 无法仅使用 http 拉取 sonatype nexus 图像

问题描述 投票:0回答:0

Openshift 是否有解决方法可以使用 Sonatype Nexus 代理访问仅 HTTP 图像?这就是我的团队为 POC Openshift 提供的。您可以使用 sslverify false 执行 podman pull,即使在带有 podman 的 pod 中也能正常工作。但是Openshift拉不动,

ERROR: Job failed: prepare environment: waiting for pod running: pulling image "domain.ca:5000/gitlab/gitlab-runner-helper:ubi-fips-x86_64-v15.8.2": image pull failed: rpc error: code = Unknown desc = pinging container registry domain.ca:5000: Get "https://domain.ca:5000/v2/": http: server gave HTTP response to HTTPS client. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information

它正在寻找 https://domain.ca:5000/v2/ 但实际上它只是“http://domain.ca:5000/v2/”。

kubernetes openshift openshift-origin
© www.soinside.com 2019 - 2024. All rights reserved.