This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.第 9 章 镜像配置资源
使用以下流程配置镜像 registry。
9.1. 镜像控制器配置参数
				Image.config.openshift.io/cluster 资源包含有关如何处理镜像的集群范围信息。规范且唯一有效的名称是 cluster。它的 spec 提供以下配置参数。
			
| 参数 | 描述 | 
|---|---|
| 
								 | 
								 这个列表中的每个项包含由 registry 域名指定的 registry 的位置。域名可以包含通配符。 
								 
								 | 
| 
								 | 
								 
								该 ConfigMap 的命名空间为  | 
| 
								 | 
								 | 
| 
								 | 
								 
								 
								 
								 
								可以设置  | 
					当定义 allowedRegistries 参数时,所有 registry(包括 registry.redhat.io 和 quay.io )都会被阻断,除非明确列出。如果使用该参数,请根据环境中有效负载镜像的要求声明源容器镜像仓库 registry.redhat.io 和 quay.io,以防止 Pod 失败。对于断开连接的集群,还应添加镜像的 registry。
				
				image.config.openshift.io/cluster 资源的 status 项包括了从集群观察到的值。
			
| 参数 | 描述 | 
|---|---|
| 
								 | 
								 | 
| 
								 | 
								 |