1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/microshift-mirroring-prereqs.adoc
2025-02-17 11:18:08 +00:00

26 lines
1.5 KiB
Plaintext

// Module included in the following assemblies:
//
// * microshift/microshift_install_rpm_ostree/microshift-deploy-with-mirror-registry.adoc
:_mod-docs-content-type: CONCEPT
[id="microshift-configuring-mirroring-prereqs_{context}"]
= Configuring mirroring prerequisites
You must create a container image registry credentials file that allows the mirroring of images from your internet-connected mirror host to your air-gapped mirror. Follow the instructions in the "Configuring credentials that allow images to be mirrored" link provided in the "Additional resources" section. These instructions guide you to create a `~/.pull-secret-mirror.json` file on the mirror registry host that includes the user credentials for accessing the mirror.
[id="microshift-example-mirror-pull-secret-entry_{context}"]
== Example mirror registry pull secret entry
For example, the following section is added to the pull secret file for the `microshift_quay:8443` mirror registry using `microshift:microshift` as username and password.
.Example mirror registry section for pull secret file
[source,terminal]
----
"<microshift_quay:8443>": { <1>
"auth": "<microshift_auth>", <2>
"email": "<microshift_quay@example.com>" <3>
},
----
<1> Replace the `<registry_host>:<port>` value `microshift_quay:8443` with the host name and port of your mirror registry server.
<2> Replace the `<microshift_auth>` value with the user password.
<3> Replace the `</microshift_quay@example.com>` value with the user email.