Skip to content

Commit e649599

Browse files
snarayan-redhatShubha Narayanan
authored andcommitted
Added multi arch release to use case
1 parent ebf1063 commit e649599

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ mirror:
3636
// Moved to second; unchanged
3737
[discrete]
3838
[id="oc-mirror-image-set-examples-minimum-to-latest_{context}"]
39-
== Use case: Including all versions of {product-title} from a minimum to the latest
39+
== Use case: Including all versions of {product-title} from a minimum to the latest version for multi-architecture releases
4040

41-
The following `ImageSetConfiguration` file uses a registry storage backend and includes all {product-title} versions starting at a minimum version of `4.10.10` to the latest version in the channel.
41+
The following `ImageSetConfiguration` file uses a registry storage backend and includes all {product-title} versions starting at a minimum version of `4.13.4` to the latest version in the channel. On every invocation of oc-mirror with this image set configuration, the latest release of the `stable-4.13` channel is evaluated, so running oc-mirror at regular intervals ensures that you automatically receive the latest releases of {product-title} images.
4242

43-
On every invocation of oc-mirror with this image set configuration, the latest release of the `stable-4.10` channel is evaluated, so running oc-mirror at regular intervals ensures that you automatically receive the latest releases of {product-title} images.
43+
By setting the value of `platform.architectures` to `multi`, you can ensure that the mirroring is supported for multi-architecture releases.
4444

4545
.Example `ImageSetConfiguration` file
4646
[source,yaml]
@@ -53,9 +53,12 @@ storageConfig:
5353
skipTLS: false
5454
mirror:
5555
platform:
56+
architectures:
57+
- "multi"
5658
channels:
57-
- name: stable-4.10
58-
minVersion: 4.10.10
59+
- name: stable-4.13
60+
minVersion: 4.13.4
61+
maxVersion: 4.13.6
5962
----
6063

6164
// Updated:

modules/oc-mirror-imageset-config-params.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ architectures:
208208
- s390x
209209
----
210210

211+
The default value is `amd64`. The value `multi` ensures that the mirroring is supported for all available architectures, eliminating the need to specify individual architectures.
212+
211213
|`mirror.platform.channels`
212214
|The platform channel configuration of the image set.
213215
|Array of objects. For example:

0 commit comments

Comments
 (0)