Skip to content

Commit 551427e

Browse files
committed
OCPBUGS-10270: Add a note that you have to include the default channel
1 parent 5a1fbf4 commit 551427e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

modules/oc-mirror-creating-image-set-config.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ mirror:
5252
packages:
5353
- name: serverless-operator <7>
5454
channels:
55-
- name: stable
55+
- name: stable <8>
5656
additionalImages:
57-
- name: registry.redhat.io/ubi8/ubi:latest <8>
57+
- name: registry.redhat.io/ubi8/ubi:latest <9>
5858
helm: {}
5959
----
6060
<1> Add `archiveSize` to set the maximum size, in GiB, of each file within the image set.
@@ -63,8 +63,9 @@ mirror:
6363
<4> Set the channel to retrieve the {product-title} images from.
6464
<5> Add `graph: true` to generate the OpenShift Update Service (OSUS) graph image to allow for an improved cluster update experience when using the web console. For more information, see _About the OpenShift Update Service_.
6565
<6> Set the Operator catalog to retrieve the {product-title} images from.
66-
<7> Specify only certain Operator packages and channels to include in the image set. Remove this field to retrieve all packages in the catalog.
67-
<8> Specify any additional images to include in image set.
66+
<7> Specify only certain Operator packages to include in the image set. Remove this field to retrieve all packages in the catalog.
67+
<8> Specify only certain channels of the Operator packages to include in the image set. You must always include the default channel for the Operator package even if you do not use the bundles in that channel. You can find the default channel by running the following command: `oc mirror list operators --catalog=<catalog_name> --package=<package_name>`.
68+
<9> Specify any additional images to include in image set.
6869
+
6970
See _Image set configuration parameters_ for the full list of parameters and _Image set configuration examples_ for various mirroring use cases.
7071

0 commit comments

Comments
 (0)