Skip to content

Commit 9cbc02e

Browse files
authored
Merge pull request #61801 from subhtk/osdocs5739
OSDOCS#5739: Added a note related to minversion and maxversion in ImageSetConfiguration
2 parents 35933cd + da75560 commit 9cbc02e

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

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

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,23 +152,23 @@ operators:
152152
|String. For example: `fast` or `stable-v4.14`.
153153

154154
|`mirror.operators.packages.channels.maxVersion`
155-
|The highest version of the Operator mirror across all channels in which it exists.
155+
|The highest version of the Operator mirror across all channels in which it exists. See the following note for further information.
156156
|String. For example: `5.2.3-31`
157157

158158
|`mirror.operators.packages.channels.minBundle`
159159
|The name of the minimum bundle to include, plus all bundles in the update graph to the channel head. Set this field only if the named bundle has no semantic version metadata.
160160
|String. For example: `bundleName`
161161

162162
|`mirror.operators.packages.channels.minVersion`
163-
|The lowest version of the Operator to mirror across all channels in which it exists.
163+
|The lowest version of the Operator to mirror across all channels in which it exists. See the following note for further information.
164164
|String. For example: `5.2.3-31`
165165

166166
|`mirror.operators.packages.maxVersion`
167-
|The highest version of the Operator to mirror across all channels in which it exists.
167+
|The highest version of the Operator to mirror across all channels in which it exists. See the following note for further information.
168168
|String. For example: `5.2.3-31`.
169169

170170
|`mirror.operators.packages.minVersion`
171-
|The lowest version of the Operator to mirror across all channels in which it exists.
171+
|The lowest version of the Operator to mirror across all channels in which it exists. See the following note for further information.
172172
|String. For example: `5.2.3-31`.
173173

174174
|`mirror.operators.skipDependencies`
@@ -269,3 +269,12 @@ channels:
269269
|Boolean. The default value is `false`.
270270

271271
|===
272+
273+
[NOTE]
274+
====
275+
Using the the `minVersion` and `maxVersion` properties to filter for a specific Operator version range can result in a multiple channel heads error. The error message will state that there are `multiple channel heads`. This is because when the filter is applied, the update graph of the operator is truncated.
276+
277+
The Operator Lifecycle Manager requires that every operator channel contains versions that form an update graph with exactly one end point, that is , the latest version of the operator. When applying the filter range that graph can turn into two or more separate graphs or a graph that has more than one end point.
278+
279+
To avoid this error, do not filter out the latest version of an operator. If you still run into the error, depending on the operator, either the `maxVersion` property needs to be increased or the `minVersion` property needs to be decreased. Because every operator graph can be different, you might need to adjust these values, according to the procedure, until the error is gone.
280+
====

0 commit comments

Comments
 (0)