3.6. 从私有 registry 获取容器镜像
有些容器镜像 registry 可能需要进行身份验证才能访问镜像。在这种情况下,请使用您的 containers-prepare-parameter.yaml 环境文件中的 ContainerImageRegistryCredentials 参数。
重要
私有 registry 需要针对其在 ContainerImagePrepare 中的相应策略将 push_destination 设置为 true。
ContainerImageRegistryCredentials 参数使用一组基于私有 registry URL 的键。每个私有 registry URL 使用其自己的键和值对定义用户名(键)和密码(值)。这提供了一种为多个私有 registry 指定凭据的方法。
重要
默认 ContainerImagePrepare 参数从需要进行身份验证的 registry.redhat.io 中拉取 Ceph Storage 容器镜像。