kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
archiveSize: 4 (1)
storageConfig: (2)
registry:
imageURL: example.com/mirror/oc-mirror-metadata (3)
skipTLS: false
mirror:
platform:
channels:
- name: stable-{product-version} (4)
type: ocp
graph: true (5)
operators:
- catalog: registry.redhat.io/redhat/redhat-operator-index:v{product-version} (6)
packages:
- name: lvms-operator (7)
channels:
- name: stable (8)
additionalImages:
- name: registry.redhat.io/ubi9/ubi:latest (9)
helm: {}
-
Add
archiveSize
to set the maximum size, in GiB, of each file within the image set. -
Set the back-end location to save the image set metadata to. This location can be a registry or local directory. It is required to specify
storageConfig
values, unless you are using the Technology Preview OCI feature. -
Set the registry URL for the storage backend.
-
Set the channel to retrieve the {product-title} images from.
-
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. -
Set the Operator catalog to retrieve the {product-title} images from.
-
Specify only certain Operator packages to include in the image set. Remove this field to retrieve all packages in the catalog.
-
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>
. -
Specify any additional images to include in image set.