Hide Forgot
Document URL: https://docs.openshift.com/enterprise/3.2/install_config/install/disconnected_install.html#overview or other new section as title "Using millar registry outside of registry.access.redhat.com" Describe the issue: To specify Satelite or other millar registry, users need to specify "oreg_url", "openshift_examples_modify_imagestreams" and "openshift_docker_additional_registries" during the installation. (As for "oreg_url" and "openshift_examples_modify_imagestreams", please see also[1]) Suggestions for improvement: Documentation should mention that how to specify Satelite or other millar registry, as far as I researched, three variables "oreg_url", "openshift_examples_modify_imagestreams" and "openshift_docker_additional_registries". Additional information: https://bugzilla.redhat.com/show_bug.cgi?id=1374890
I'm sorry for my typo. "millar->mirror"
Beside specify "oreg_url" and "openshift_examples_modify_imagestreams" to use a mirror registry, we also need specify "openshift_docker_additional_registries" and "openshift_docker_insecure_registries", especially "openshift_docker_insecure_registries". But I did not see that is mentioned in the PR.
If the mirror registry is secured registry, openshift_docker_insecure_registries would be necessary. However, It is not mandatory, for example when server side is NOT secured registry, or when client side installed cert corectory. So, how about adding side-note like: ~~~ note: Depends on your requirement, other options such as openshift_docker_insecure_registries or openshift_docker_additional_registries might be worth to configure. ~~~ (Sorry Brandi, please correct my bad English...) > Jonny, Do you have an objection or any other idea?
> > Jonny, > > Do you have an objection or any other idea? Looks good to me.
Thanks! I updated the PR. Could you help me clarify the purpose statements for `openshift_docker_additional_registries` and `openshift_docker_insecure_registries`?
Once set openshift_docker_additional_registries, its value will be added into "ADD_REGISTRY" line in /etc/sysconfig/docker, here I will reference the explanation for "ADD_REGISTRY". # If you want to add your own registry to be used for docker search and docker # pull use the ADD_REGISTRY option to list a set of registries, each prepended # with --add-registry flag. The first registry added will be the first registry # searched. ADD_REGISTRY='--add-registry registry.access.redhat.com --add-registry example.com' Once set openshift_docker_insecure_registries, its value will be added into "INSECURE_REGISTRY" line in /etc/sysconfig/docker, here I will reference the explanation for "INSECURE_REGISTRY". # If you have a registry secured with https but do not have proper certs # distributed, you can tell docker to not look for full authorization by # adding the registry to the INSECURE_REGISTRY line and uncommenting it. INSECURE_REGISTRY='--insecure-registry example.com'
Thank you! I updated the PR with the explanations.
Seem good to me now.
Commits pushed to master at https://github.com/openshift/openshift-docs https://github.com/openshift/openshift-docs/commit/6a969faa8f2125da2bc48b039a9dcef1398f3612 Bug 1375034 Added Configuring a Regsitry Location https://github.com/openshift/openshift-docs/commit/74696b1f0b45be7022a343a05a963cd574a4ebe3 Merge pull request #4466 from bmcelvee/BZ1375034 Bug 1375034 Added Configuring a Regsitry Location
Link to documentation on Customer Portal: https://access.redhat.com/documentation/en-us/openshift_container_platform/3.5/html-single/installation_and_configuration/#disconnected-post-installation-changes