Document URL: https://docs.openshift.com/container-platform/4.3/installing/install_config/installing-restricted-networks-preparations.html#installation-adding-registry-pull-secret_installing-restricted-networks-preparations Section Number and Name: Step 4 in Procedure Describe the issue: In the step, we have '<local_registry_host_name>', '<local_registry_host_port>' and '<credentials>' act as place holders. But in the explanation after the step, 'bastion_host_name' is used, where it should be 'local_registry_host_name' Suggestions for improvement: Replace 'bastion_host_name' with 'local_registry_host_name' Additional information: -------------------------------------------------------- Edit the new file and add a section that describes your registry to it: "auths": { ... "<local_registry_host_name>:<local_registry_host_port>": { "auth": "<credentials>", "email": "you" }, ... For bastion_host_name, specify the registry domain name that you specified in your certificate, and for <local_registry_host_port>, specify the port that your mirror registry uses to serve content. For <credentials>, specify the base64-encoded user name and password for the mirror registry that you generated. The file resembles the following example: { "auths": { "cloud.openshift.com": { "auth": "b3BlbnNo...", "email": "you" }, "quay.io": { "auth": "b3BlbnNo...", "email": "you" }, "registry.connect.redhat.com": { "auth": "NTE3Njg5Nj...", "email": "you" }, "<local_registry_host_name>:<local_registry_host_port>": { "auth": "<credentials>", "email": "you" }, "registry.redhat.io": { "auth": "NTE3Njg5Nj...", "email": "you" } } }
This should apply to enterprise-4.2/4.3/4.4
Propose PR, https://github.com/openshift/openshift-docs/pull/20580
Thanks! I've merged the change and am waiting for it to go live.
This change is live on the portal, eg https://access.redhat.com/documentation/en-us/openshift_container_platform/4.2/html-single/installing/index#installation-creating-mirror-registry_installing-restricted-networks-preparations And on docs.openshift, eg https://docs.openshift.com/container-platform/4.3/installing/install_config/installing-restricted-networks-preparations.html#installation-creating-mirror-registry_installing-restricted-networks-preparations