Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions modules/oc-mirror-creating-image-set-config.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ mirror:
[NOTE]
====
The `graph: true` field also mirrors the `ubi-micro` image along with other mirrored images.

When upgrading {product-title} Extended Update Support (EUS) versions, an intermediate version might be required between the current and target versions. For example, if the current version is `4.14` and target version is `4.16`, you might need to include a version such as `4.15.8` in the `ImageSetConfiguration` when using the oc-mirror plugin v1.

The oc-mirror plugin v1 might not always detect this automatically, so check the link:https://access.redhat.com/labs/ocpupgradegraph/update_path[Cincinnati graph web page] to confirm any required intermediate versions and add them manually to your configuration.
====
+
See _Image set configuration parameters_ for the full list of parameters and _Image set configuration examples_ for various mirroring use cases.
Expand Down
31 changes: 31 additions & 0 deletions modules/oc-mirror-image-set-config-examples.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -244,3 +244,34 @@ mirror:
additionalImages:
- name: registry.redhat.io/ubi9/ubi:latest
----

[discrete]
[id="oc-mirror-image-set-examples-eus_{context}"]
== Use case: Including the upgrade path for EUS releases

The following `ImageSetConfiguration` file includes the `eus-<version>` channel, where the `maxVersion` value is at least two minor versions higher than the `minVersion` value.

For example, in this `ImageSetConfiguration` file, the `minVersion` is set to `4.12.28`, while the `maxVersion` for the `eus-4.14` channel is `4.14.16`.

.Example `ImageSetConfiguration` file
[source,yaml,subs="attributes+"]
----
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v2alpha1
mirror:
platform:
graph: true # Required for the OSUS Operator
architectures:
- amd64
channels:
- name: stable-4.12
minVersion: '4.12.28'
maxVersion: '4.12.28'
shortestPath: true
type: ocp
- name: eus-4.14
minVersion: '4.12.28'
maxVersion: '4.14.16'
shortestPath: true
type: ocp
----