You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/olm-mirroring-catalog.adoc
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,12 @@ wrote database to /tmp/153048078 <1>
86
86
wrote mirroring manifests to manifests-{index-image}-1614211642 <2>
87
87
----
88
88
<1> Directory for the temporary `index.db` database generated by the command.
89
-
<2> Record the manifests directory name that is generated. This directory name is used in a later step.
89
+
<2> Be sure to record the manifests directory name that is generated. This directory name is used in a later step.
90
+
+
91
+
[NOTE]
92
+
====
93
+
Red Hat Quay does not support nested repositories. As a result, running the `oc adm catalog mirror` command will fail with a `401` unauthorized error. As a workaround, you can use the `--max-components=2` option when running the `oc adm catalog mirror` command to disable the creation of nested repositories. For more information on this workaround, see the link:https://access.redhat.com/solutions/5440741[Unauthorized error thrown while using catalog mirror command with Quay registry] Knowledgebase Solution article.
94
+
====
90
95
91
96
** *Option B: If your mirror registry is on a disconnected host,* take the following actions.
92
97
@@ -115,7 +120,7 @@ To upload local images to a registry, run:
<1> Record the manifests directory name that is generated. This directory name is used in a later step.
123
+
<1> Be sure to record the manifests directory name that is generated. This directory name is used in a later step.
119
124
<2> Record the expanded `file://` path that based on your provided index image. This path is used in a later step.
120
125
121
126
.. Copy the `v2/` directory that is generated in your current directory to removable media.
@@ -142,6 +147,11 @@ $ oc adm catalog mirror \
142
147
----
143
148
<1> Specify the `file://` path from the previous command output.
144
149
<2> Specify the target registry and namespace to mirror the Operator content to, where `<namespace>` is any existing namespace on the registry. For example, you might create an `olm-mirror` namespace to push all mirrored content to.
150
+
+
151
+
[NOTE]
152
+
====
153
+
Red Hat Quay does not support nested repositories. As a result, running the `oc adm catalog mirror` command will fail with a `401` unauthorized error. As a workaround, you can use the `--max-components=2` option when running the `oc adm catalog mirror` command to disable the creation of nested repositories. For more information on this workaround, see the link:https://access.redhat.com/solutions/5440741[Unauthorized error thrown while using catalog mirror command with Quay registry] Knowledgebase Solution article.
154
+
====
145
155
146
156
. After mirroring the content to your registry, inspect the manifests directory that is generated in your current directory.
0 commit comments