Skip to content

Commit 7d0912b

Browse files
Merge pull request #3363 from pmtk/olm/change-catalog-source
USHIFT-3169: Use RH's Community Operators instead of OperatorHub.io
2 parents 3ad218c + 5e3770c commit 7d0912b

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

test/assets/olm/catalog-source.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
apiVersion: operators.coreos.com/v1alpha1
22
kind: CatalogSource
33
metadata:
4-
name: operatorhubio-catalog
4+
name: redhat-community-catalog
55
namespace: openshift-marketplace
66
spec:
77
sourceType: grpc
8-
image: quay.io/operatorhubio/catalog:latest
9-
displayName: Community Operators
10-
publisher: OperatorHub.io
8+
image: registry.redhat.io/redhat/community-operator-index:v4.16
9+
displayName: Red Hat Community Operators
10+
publisher: Red Hat
1111
grpcPodConfig:
1212
securityContextConfig: restricted
1313
updateStrategy:

test/assets/olm/subscription-cert-manager.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ metadata:
66
spec:
77
channel: stable
88
name: cert-manager
9-
source: operatorhubio-catalog
9+
source: redhat-community-catalog
1010
sourceNamespace: openshift-marketplace

test/suites/optional/olm.robot

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Deploy CertManager From OperatorHubIO
2121
[Documentation] Deploy CertManager from OperatorHub Catalog.
2222
[Setup] Run Keywords
2323
... OLM Should Be Ready
24-
... Create OperatorHub CatalogSource
24+
... Create CatalogSource
2525
... Create CertManager Subscription
2626

2727
${csv}= Get CSV Name From Subscription ${OPERATORS_NAMESPACE} my-cert-manager
@@ -30,7 +30,7 @@ Deploy CertManager From OperatorHubIO
3030
Wait For Deployments ${OPERATORS_NAMESPACE} @{deployments}
3131

3232
[Teardown] Run Keywords
33-
... Delete OperatorHub CatalogSource
33+
... Delete CatalogSource
3434
... AND
3535
... Delete CertManager Subscription
3636
... AND
@@ -57,11 +57,11 @@ OLM Should Be Ready
5757
Named Deployment Should Be Available catalog-operator openshift-operator-lifecycle-manager
5858
Named Deployment Should Be Available olm-operator openshift-operator-lifecycle-manager
5959

60-
Create OperatorHub CatalogSource
61-
[Documentation] Create CatalogSource resource pointing to OperatorHub.io catalog.
60+
Create CatalogSource
61+
[Documentation] Create CatalogSource resource with Red Hat Community Catalog Index.
6262
Oc Create -f ${CATALOG_SOURCE}
6363
Wait Until Keyword Succeeds 120s 5s
64-
... CatalogSource Should Be Ready ${MARKETPLACE_NAMESPACE} operatorhubio-catalog
64+
... CatalogSource Should Be Ready ${MARKETPLACE_NAMESPACE} redhat-community-catalog
6565

6666
CatalogSource Should Be Ready
6767
[Documentation] Checks if CatalogSource is ready.
@@ -118,8 +118,8 @@ Wait For Deployments
118118
Named Deployment Should Be Available ${deploy} ${namespace} 120s
119119
END
120120

121-
Delete OperatorHub CatalogSource
122-
[Documentation] Delete OperatorHub's CatalogSource.
121+
Delete CatalogSource
122+
[Documentation] Delete CatalogSource.
123123
Oc Delete -f ${CATALOG_SOURCE}
124124

125125
Delete CertManager Subscription

0 commit comments

Comments
 (0)