Skip to content

Commit 1ca56c5

Browse files
authored
Merge pull request #41633 from adellape/48plus_icsp
2 parents 7cd69a8 + 415a5f5 commit 1ca56c5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

modules/olm-mirroring-catalog-airgapped.adoc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,24 @@ $ oc adm catalog mirror \
8383
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.
8484
====
8585
86+
. Run the `oc adm catalog mirror` command again. Use the newly mirrored index image as the source and the same mirror registry namespace used in the previous step as the target:
87+
+
88+
[source,terminal]
89+
----
90+
$ oc adm catalog mirror \
91+
<mirror_registry>:<port>/<index_image> \
92+
<mirror_registry>:<port>/<namespace> \
93+
--manifests-only \//<1>
94+
[-a ${REG_CREDS}] \
95+
[--insecure]
96+
----
97+
<1> The `--manifests-only` flag is required for this step so that the command does not copy all of the mirrored content again.
98+
+
99+
[IMPORTANT]
100+
====
101+
This step is required because the image mappings in the `imageContentSourcePolicy.yaml` file generated during the previous step must be updated from local paths to valid mirror locations. Failure to do so will cause errors when you create the `ImageContentSourcePolicy` object in a later step.
102+
====
103+
86104
After you mirror the catalog, you can continue with the remainder of your cluster installation. After your cluster installation has finished successfully, you must specify the manifests directory from this procedure to create the `ImageContentSourcePolicy` and `CatalogSource` objects. These objects are required to enable installation of Operators from OperatorHub.
87105
88106
:!index-image-pullspec:

0 commit comments

Comments
 (0)