You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/oc-mirror-operator-catalog-filtering.adoc
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,6 @@ oc-mirror plugin v2 selects the list of bundles for mirroring by processing the
10
10
11
11
When oc-mirror plugin v2 selects bundles for mirroring, it does not infer Group Version Kind (GVK) or bundle dependencies, omitting them from the mirroring set. Instead, it strictly adheres to the user instructions. You must explicitly specify any required dependent packages and their versions.
12
12
13
-
Bundle versions typically use semantic versioning standards (SemVer), and you can sort bundles within a channel by version. You can select buncles that fall within a specific range in the `ImageSetConfig`.
14
-
15
-
This selection algorithm ensures consistent outcomes compared to oc-mirror plugin v1. However, it does not include upgrade graph details, such as `replaces`, `skip`, and `skipRange`. This approach differs from the OLM algorithm. It might mirror more bundles than necessary for upgrading a cluster because of potentially shorter upgrade paths between the `minVersion` and `maxVersion`.
16
-
17
13
.Use the following table to see what bundle versions are included in different scenarios
|All bundles of all channels of the specified catalog
41
+
|All bundles of all channels of the specified catalog.
46
42
47
43
a|Scenario 3
48
44
@@ -54,7 +50,7 @@ mirror:
54
50
packages:
55
51
- name: compliance-operator
56
52
----
57
-
|One bundle, corresponding to the head version of the default channel for that package
53
+
|One bundle, corresponding to the head version for each channel of that package.
58
54
59
55
a|Scenario 4
60
56
@@ -67,7 +63,7 @@ mirror:
67
63
- packages:
68
64
- name: elasticsearch-operator
69
65
----
70
-
|All bundles of all channels for the packages specified
66
+
|All bundles of all channels for the packages specified.
71
67
72
68
a|Scenario 5
73
69
@@ -80,7 +76,7 @@ mirror:
80
76
- name: compliance-operator
81
77
minVersion: 5.6.0
82
78
----
83
-
|All bundles in the default channel, from the `minVersion`, up to the channel head for that package that do not rely on the shortest path from upgrade the graph.
79
+
|All bundles in all channels, from the `minVersion`, up to the channel head for that package.
84
80
85
81
a|Scenario 6
86
82
@@ -93,7 +89,7 @@ mirror:
93
89
- name: compliance-operator
94
90
maxVersion: 6.0.0
95
91
----
96
-
|All bundles in the default channel that are lower than the `maxVersion` for that package.
92
+
|All bundles in all channels that are lower than the `maxVersion` for that package.
97
93
98
94
a|Scenario 7
99
95
@@ -107,7 +103,7 @@ mirror:
107
103
minVersion: 5.6.0
108
104
maxVersion: 6.0.0
109
105
----
110
-
|All bundles in the default channel, between the `minVersion` and `maxVersion` for that package. The head of the channel is not included, even if multiple channels are included in the filtering.
106
+
|All bundles in all channels, between the `minVersion` and `maxVersion` for that package. The head of the channel is not included, even if multiple channels are included in the filtering.
111
107
112
108
a|Scenario 8
113
109
@@ -121,7 +117,7 @@ mirror:
121
117
channels
122
118
- name: stable
123
119
----
124
-
|The head bundle for the selected channel of that package.
120
+
|The head bundle for the selected channel of that package. You must use the `defaultChannel` field in case the filtered channels are not the default.
125
121
126
122
a|Scenario 9
127
123
@@ -136,7 +132,8 @@ mirror:
136
132
channels:
137
133
- name: 'stable-v0'
138
134
----
139
-
|All bundles for the specified packages and channels.
135
+
|All bundles for the packages and channels specified.
136
+
The `defaultChannel` should be used in case the filtered channels are not the default.
140
137
141
138
a|Scenario 10
142
139
@@ -166,7 +163,7 @@ mirror:
166
163
- name: stable
167
164
minVersion: 5.6.0
168
165
----
169
-
|Within the selected channel of that package, all versions starting with the `minVersion` up to the channel head. This scenario does not relyon the shortest path from the upgrade graph.
166
+
|Within the selected channel of that package, all versions starting with the `minVersion` up to the channel head. You must use the `defaultChannel` field in case the filtered channels are not the default.
170
167
171
168
a|Scenario 12
172
169
@@ -181,7 +178,9 @@ mirror:
181
178
- name: stable
182
179
maxVersion: 6.0.0
183
180
----
184
-
|Within the selected channel of that package, all versions up to the `maxVersion` (not relying on the shortest path from the upgrade graph). The head of the channel is not included, even if multiple channels are included in the filtering.
181
+
|Within the selected channel of that package, all versions up to `maxVersion`.
182
+
Head of channel is not included, even if multiple channels are included in the filtering.
183
+
You might see errors if this filtering leads to a channel with multiple heads. You must use the `defaultChannel` field in case the filtered channels are not the default.
185
184
186
185
a|Scenario 13
187
186
@@ -197,7 +196,8 @@ mirror:
197
196
minVersion: 5.6.0
198
197
maxVersion: 6.0.0
199
198
----
200
-
|Within the selected channel of that package, all versions between the `minVersion` and `maxVersion`, not relying on the shortest path from the upgrade graph. The head of the channel is not included, even if multiple channels are included in the filtering.
199
+
|Within the selected channel of that package, all versions between the `minVersion` and `maxVersion`. The head of channel is not included, even if multiple channels are included in the filtering.
200
+
You might see errors if this filtering leads to a channel with multiple heads. You must use the `defaultChannel` field in case the filtered channels are not the default.
0 commit comments