@@ -140,39 +140,39 @@ func TestComputeCatalogImages(t *testing.T) {
140140 },
141141 },
142142 {
143- name : "When version is 5.0, it should be capped to 4.21 catalog images" ,
143+ name : "When version is 5.0, it should be capped to 4.22 catalog images" ,
144144 releaseVersion : semver .MustParse ("5.0.0" ),
145145 existingImages : []string {
146- "registry.redhat.io/redhat/certified-operator-index:v4.21 " ,
147- "registry.redhat.io/redhat/community-operator-index:v4.21 " ,
148- "registry.redhat.io/redhat/redhat-marketplace-index:v4.21 " ,
149- "registry.redhat.io/redhat/redhat-operator-index:v4.21 " ,
146+ "registry.redhat.io/redhat/certified-operator-index:v4.22 " ,
147+ "registry.redhat.io/redhat/community-operator-index:v4.22 " ,
148+ "registry.redhat.io/redhat/redhat-marketplace-index:v4.22 " ,
149+ "registry.redhat.io/redhat/redhat-operator-index:v4.22 " ,
150150 },
151151 expected : map [string ]string {
152- "certified-operators" : "registry.redhat.io/redhat/certified-operator-index:v4.21 " ,
153- "community-operators" : "registry.redhat.io/redhat/community-operator-index:v4.21 " ,
154- "redhat-marketplace" : "registry.redhat.io/redhat/redhat-marketplace-index:v4.21 " ,
155- "redhat-operators" : "registry.redhat.io/redhat/redhat-operator-index:v4.21 " ,
152+ "certified-operators" : "registry.redhat.io/redhat/certified-operator-index:v4.22 " ,
153+ "community-operators" : "registry.redhat.io/redhat/community-operator-index:v4.22 " ,
154+ "redhat-marketplace" : "registry.redhat.io/redhat/redhat-marketplace-index:v4.22 " ,
155+ "redhat-operators" : "registry.redhat.io/redhat/redhat-operator-index:v4.22 " ,
156156 },
157157 },
158158 {
159- name : "When version is 5.0 nightly, it should be capped to 4.21 catalog images" ,
159+ name : "When version is 5.0 nightly, it should be capped to 4.22 catalog images" ,
160160 releaseVersion : semver .MustParse ("5.0.0-0.nightly-multi-2026-04-07-214955" ),
161161 existingImages : []string {
162- "registry.redhat.io/redhat/certified-operator-index:v4.21 " ,
163- "registry.redhat.io/redhat/community-operator-index:v4.21 " ,
164- "registry.redhat.io/redhat/redhat-marketplace-index:v4.21 " ,
165- "registry.redhat.io/redhat/redhat-operator-index:v4.21 " ,
162+ "registry.redhat.io/redhat/certified-operator-index:v4.22 " ,
163+ "registry.redhat.io/redhat/community-operator-index:v4.22 " ,
164+ "registry.redhat.io/redhat/redhat-marketplace-index:v4.22 " ,
165+ "registry.redhat.io/redhat/redhat-operator-index:v4.22 " ,
166166 },
167167 expected : map [string ]string {
168- "certified-operators" : "registry.redhat.io/redhat/certified-operator-index:v4.21 " ,
169- "community-operators" : "registry.redhat.io/redhat/community-operator-index:v4.21 " ,
170- "redhat-marketplace" : "registry.redhat.io/redhat/redhat-marketplace-index:v4.21 " ,
171- "redhat-operators" : "registry.redhat.io/redhat/redhat-operator-index:v4.21 " ,
168+ "certified-operators" : "registry.redhat.io/redhat/certified-operator-index:v4.22 " ,
169+ "community-operators" : "registry.redhat.io/redhat/community-operator-index:v4.22 " ,
170+ "redhat-marketplace" : "registry.redhat.io/redhat/redhat-marketplace-index:v4.22 " ,
171+ "redhat-operators" : "registry.redhat.io/redhat/redhat-operator-index:v4.22 " ,
172172 },
173173 },
174174 {
175- name : "When version is 5.0 and 4.21 not available, it should fall back to earlier versions" ,
175+ name : "When version is 5.0 and 4.22 not available, it should fall back to earlier versions" ,
176176 releaseVersion : semver .MustParse ("5.0.0" ),
177177 existingImages : []string {
178178 "registry.redhat.io/redhat/certified-operator-index:v4.19" ,
@@ -188,19 +188,19 @@ func TestComputeCatalogImages(t *testing.T) {
188188 },
189189 },
190190 {
191- name : "When version is 4.22, it should be capped to 4.21 catalog images" ,
191+ name : "When version is 4.22, it should use 4.22 catalog images" ,
192192 releaseVersion : semver .MustParse ("4.22.0" ),
193193 existingImages : []string {
194- "registry.redhat.io/redhat/certified-operator-index:v4.21 " ,
195- "registry.redhat.io/redhat/community-operator-index:v4.21 " ,
196- "registry.redhat.io/redhat/redhat-marketplace-index:v4.21 " ,
197- "registry.redhat.io/redhat/redhat-operator-index:v4.21 " ,
194+ "registry.redhat.io/redhat/certified-operator-index:v4.22 " ,
195+ "registry.redhat.io/redhat/community-operator-index:v4.22 " ,
196+ "registry.redhat.io/redhat/redhat-marketplace-index:v4.22 " ,
197+ "registry.redhat.io/redhat/redhat-operator-index:v4.22 " ,
198198 },
199199 expected : map [string ]string {
200- "certified-operators" : "registry.redhat.io/redhat/certified-operator-index:v4.21 " ,
201- "community-operators" : "registry.redhat.io/redhat/community-operator-index:v4.21 " ,
202- "redhat-marketplace" : "registry.redhat.io/redhat/redhat-marketplace-index:v4.21 " ,
203- "redhat-operators" : "registry.redhat.io/redhat/redhat-operator-index:v4.21 " ,
200+ "certified-operators" : "registry.redhat.io/redhat/certified-operator-index:v4.22 " ,
201+ "community-operators" : "registry.redhat.io/redhat/community-operator-index:v4.22 " ,
202+ "redhat-marketplace" : "registry.redhat.io/redhat/redhat-marketplace-index:v4.22 " ,
203+ "redhat-operators" : "registry.redhat.io/redhat/redhat-operator-index:v4.22 " ,
204204 },
205205 },
206206 {
0 commit comments