Skip to content

Commit 0d98b52

Browse files
author
Shubha Narayanan
committed
Revised index versions to current versions
1 parent 8b6bd9e commit 0d98b52

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ To receive all Operator versions in a specified range, you can set the `mirror.o
8080
====
8181

8282
.Example `ImageSetConfiguration` file
83-
[source,yaml]
83+
[source,yaml,subs=attributes+]
8484
----
8585
apiVersion: mirror.openshift.io/v1alpha2
8686
kind: ImageSetConfiguration
@@ -89,7 +89,7 @@ storageConfig:
8989
path: /home/user/metadata
9090
mirror:
9191
operators:
92-
- catalog: registry.redhat.io/redhat/redhat-operator-index:v4.13
92+
- catalog: registry.redhat.io/redhat/redhat-operator-index:v{product-version}
9393
packages:
9494
- name: rhacs-operator
9595
channels:
@@ -108,7 +108,7 @@ To specify a maximum version instead of the latest, set the `mirror.operators.pa
108108
The following `ImageSetConfiguration` file uses a local storage backend and includes the Nutanix CSI Operator, the OpenShift Update Service (OSUS) graph image, and an additional Red Hat Universal Base Image (UBI).
109109

110110
.Example `ImageSetConfiguration` file
111-
[source,yaml]
111+
[source,yaml,subs=attributes+]
112112
----
113113
kind: ImageSetConfiguration
114114
apiVersion: mirror.openshift.io/v1alpha2
@@ -123,7 +123,7 @@ mirror:
123123
type: ocp
124124
graph: true
125125
operators:
126-
- catalog: registry.redhat.io/redhat/certified-operator-index:v4.11
126+
- catalog: registry.redhat.io/redhat/certified-operator-index:v{product-version}
127127
packages:
128128
- name: nutanixcsioperator
129129
channels:
@@ -145,7 +145,7 @@ You can find the default channel by running the following command: `oc mirror li
145145
====
146146

147147
.Example `ImageSetConfiguration` file
148-
[source,yaml]
148+
[source,yaml,subs=attributes+]
149149
----
150150
apiVersion: mirror.openshift.io/v1alpha2
151151
kind: ImageSetConfiguration
@@ -155,7 +155,7 @@ storageConfig:
155155
skipTLS: false
156156
mirror:
157157
operators:
158-
- catalog: registry.redhat.io/redhat/redhat-operator-index:v4.13
158+
- catalog: registry.redhat.io/redhat/redhat-operator-index:v{product-version}
159159
packages:
160160
- name: elasticsearch-operator
161161
channels:
@@ -171,7 +171,7 @@ mirror:
171171
The following `ImageSetConfiguration` file sets the `mirror.operators.full` field to `true` to include all versions for an entire Operator catalog.
172172

173173
.Example `ImageSetConfiguration` file
174-
[source,yaml]
174+
[source,yaml,subs=attributes+]
175175
----
176176
apiVersion: mirror.openshift.io/v1alpha2
177177
kind: ImageSetConfiguration
@@ -181,7 +181,7 @@ storageConfig:
181181
skipTLS: false
182182
mirror:
183183
operators:
184-
- catalog: registry.redhat.io/redhat/redhat-operator-index:v4.13
184+
- catalog: registry.redhat.io/redhat/redhat-operator-index:v{product-version}
185185
full: true
186186
----
187187

@@ -198,7 +198,7 @@ By default, for each Operator in the catalog, oc-mirror includes the latest Oper
198198
This example also uses the `targetCatalog` field to specify an alternative namespace and name to mirror the catalog as.
199199

200200
.Example `ImageSetConfiguration` file
201-
[source,yaml]
201+
[source,yaml,subs=attributes+]
202202
----
203203
apiVersion: mirror.openshift.io/v1alpha2
204204
kind: ImageSetConfiguration
@@ -208,7 +208,7 @@ storageConfig:
208208
skipTLS: false
209209
mirror:
210210
operators:
211-
- catalog: registry.redhat.io/redhat/redhat-operator-index:v4.13
211+
- catalog: registry.redhat.io/redhat/redhat-operator-index:v{product-version}
212212
targetCatalog: my-namespace/my-operator-catalog
213213
----
214214

@@ -220,7 +220,7 @@ mirror:
220220
The following `ImageSetConfiguration` file uses a registry storage backend and includes helm charts and an additional Red Hat Universal Base Image (UBI).
221221

222222
.Example `ImageSetConfiguration` file
223-
[source,yaml]
223+
[source,yaml,subs=attributes+]
224224
----
225225
apiVersion: mirror.openshift.io/v1alpha2
226226
kind: ImageSetConfiguration
@@ -234,9 +234,9 @@ mirror:
234234
architectures:
235235
- "s390x"
236236
channels:
237-
- name: stable-4.13
237+
- name: stable-{product-version}
238238
operators:
239-
- catalog: registry.redhat.io/redhat/redhat-operator-index:v4.13
239+
- catalog: registry.redhat.io/redhat/redhat-operator-index:v{product-version}
240240
helm:
241241
repositories:
242242
- name: redhat-helm-charts

0 commit comments

Comments
 (0)