Skip to content

Commit 515db19

Browse files
committed
Add --filter-by-os to oc image mirror in Package Manifest doc
1 parent 92cdeb5 commit 515db19

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/olm-mirroring-package-manifest-catalog.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,14 @@ In this example, if you only want to mirror these images, you would then remove
112112
----
113113
$ oc image mirror \
114114
[-a ${REG_CREDS}] \
115+
--filter-by-os='.*' \
115116
-f ./manifests-redhat-operators-<random_number>/mapping.txt
116117
----
118+
+
119+
[WARNING]
120+
====
121+
If the `--filter-by-os` flag remains unset or set to any value other than `.*`, the command filters out different architectures, which changes the digest of the manifest list, also known as a _multi-arch image_. The incorrect digest causes deployments of those images and Operators on disconnected clusters to fail.
122+
====
117123

118124
. Create the `ImageContentSourcePolicy` object:
119125
+

0 commit comments

Comments
 (0)