每次我尝试从存储库在 OpenShift Developer Sandbox 中创建 DeploymentConfig 时:
我收到以下错误:
这是否意味着该特定图像在 OpenShift 中不可用: image-registry.openshift-image-registry.svc:5000/openshift/mysql:8.0-el8
如果是这样,我知道 registry.redhat.io 需要身份验证才能访问图像,如何使用 OpenShift 注册表中提供的图像?
https://catalog.redhat.com/software/containers/search?gs&q=mysql
非常感谢您的帮助!
基本上,您需要在安装 OpenShift 4.x 集群之前获取 Pull Secret(注册表令牌)。 如果在 openshift 项目上创建 ImageStream,则可能不需要额外的身份验证即可访问
registry.redhat.io
。但是,如果您在其他没有 Red Hat 注册表的 Pull Secret 的项目上创建 ImageStream,则需要进行身份验证才能访问 Red Hat 注册表。
这是我读过的文件。