@@ -80,7 +80,7 @@ To receive all Operator versions in a specified range, you can set the `mirror.o
80
80
====
81
81
82
82
.Example `ImageSetConfiguration` file
83
- [source,yaml]
83
+ [source,yaml,subs=attributes+ ]
84
84
----
85
85
apiVersion: mirror.openshift.io/v1alpha2
86
86
kind: ImageSetConfiguration
@@ -89,7 +89,7 @@ storageConfig:
89
89
path: /home/user/metadata
90
90
mirror:
91
91
operators:
92
- - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.13
92
+ - catalog: registry.redhat.io/redhat/redhat-operator-index:v{product-version}
93
93
packages:
94
94
- name: rhacs-operator
95
95
channels:
@@ -108,7 +108,7 @@ To specify a maximum version instead of the latest, set the `mirror.operators.pa
108
108
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).
109
109
110
110
.Example `ImageSetConfiguration` file
111
- [source,yaml]
111
+ [source,yaml,subs=attributes+ ]
112
112
----
113
113
kind: ImageSetConfiguration
114
114
apiVersion: mirror.openshift.io/v1alpha2
@@ -123,7 +123,7 @@ mirror:
123
123
type: ocp
124
124
graph: true
125
125
operators:
126
- - catalog: registry.redhat.io/redhat/certified-operator-index:v4.11
126
+ - catalog: registry.redhat.io/redhat/certified-operator-index:v{product-version}
127
127
packages:
128
128
- name: nutanixcsioperator
129
129
channels:
@@ -145,7 +145,7 @@ You can find the default channel by running the following command: `oc mirror li
145
145
====
146
146
147
147
.Example `ImageSetConfiguration` file
148
- [source,yaml]
148
+ [source,yaml,subs=attributes+ ]
149
149
----
150
150
apiVersion: mirror.openshift.io/v1alpha2
151
151
kind: ImageSetConfiguration
@@ -155,7 +155,7 @@ storageConfig:
155
155
skipTLS: false
156
156
mirror:
157
157
operators:
158
- - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.13
158
+ - catalog: registry.redhat.io/redhat/redhat-operator-index:v{product-version}
159
159
packages:
160
160
- name: elasticsearch-operator
161
161
channels:
@@ -171,7 +171,7 @@ mirror:
171
171
The following `ImageSetConfiguration` file sets the `mirror.operators.full` field to `true` to include all versions for an entire Operator catalog.
172
172
173
173
.Example `ImageSetConfiguration` file
174
- [source,yaml]
174
+ [source,yaml,subs=attributes+ ]
175
175
----
176
176
apiVersion: mirror.openshift.io/v1alpha2
177
177
kind: ImageSetConfiguration
@@ -181,7 +181,7 @@ storageConfig:
181
181
skipTLS: false
182
182
mirror:
183
183
operators:
184
- - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.13
184
+ - catalog: registry.redhat.io/redhat/redhat-operator-index:v{product-version}
185
185
full: true
186
186
----
187
187
@@ -198,7 +198,7 @@ By default, for each Operator in the catalog, oc-mirror includes the latest Oper
198
198
This example also uses the `targetCatalog` field to specify an alternative namespace and name to mirror the catalog as.
199
199
200
200
.Example `ImageSetConfiguration` file
201
- [source,yaml]
201
+ [source,yaml,subs=attributes+ ]
202
202
----
203
203
apiVersion: mirror.openshift.io/v1alpha2
204
204
kind: ImageSetConfiguration
@@ -208,7 +208,7 @@ storageConfig:
208
208
skipTLS: false
209
209
mirror:
210
210
operators:
211
- - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.13
211
+ - catalog: registry.redhat.io/redhat/redhat-operator-index:v{product-version}
212
212
targetCatalog: my-namespace/my-operator-catalog
213
213
----
214
214
@@ -220,7 +220,7 @@ mirror:
220
220
The following `ImageSetConfiguration` file uses a registry storage backend and includes helm charts and an additional Red Hat Universal Base Image (UBI).
221
221
222
222
.Example `ImageSetConfiguration` file
223
- [source,yaml]
223
+ [source,yaml,subs=attributes+ ]
224
224
----
225
225
apiVersion: mirror.openshift.io/v1alpha2
226
226
kind: ImageSetConfiguration
@@ -234,9 +234,9 @@ mirror:
234
234
architectures:
235
235
- "s390x"
236
236
channels:
237
- - name: stable-4.13
237
+ - name: stable-{product-version}
238
238
operators:
239
- - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.13
239
+ - catalog: registry.redhat.io/redhat/redhat-operator-index:v{product-version}
240
240
helm:
241
241
repositories:
242
242
- name: redhat-helm-charts
0 commit comments