Skip to content

Commit

Permalink
Add 4.12 and 4.13 community operators (#1013)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebrandon1 authored Dec 4, 2024
1 parent 0629bfa commit 7fdf6ea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/globalhelper/catalogsources.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ func createCatalogSourceWithClient(opclient v1alpha1typed.OperatorsV1alpha1Inter
}

func CreateCommunityOperatorsCatalogSource() error {
communityOperatorIndex412 := "registry.redhat.io/redhat/community-operator-index:v4.12"
communityOperatorIndex413 := "registry.redhat.io/redhat/community-operator-index:v4.13"
communityOperatorIndex414 := "registry.redhat.io/redhat/community-operator-index:v4.14"
communityOperatorIndex415 := "registry.redhat.io/redhat/community-operator-index:v4.15"
communityOperatorIndex416 := "registry.redhat.io/redhat/community-operator-index:v4.16"
Expand All @@ -92,6 +94,10 @@ func CreateCommunityOperatorsCatalogSource() error {

// Note: Update this when new OCP versions are released and new community operator indexes are available
switch majorMinor {
case "4.12":
return createCatalogSource("community-operators", communityOperatorIndex412)
case "4.13":
return createCatalogSource("community-operators", communityOperatorIndex413)
case "4.14":
return createCatalogSource("community-operators", communityOperatorIndex414)
case "4.15":
Expand Down

0 comments on commit 7fdf6ea

Please sign in to comment.