Skip to content

Commit 046c3df

Browse files
authored
Fix upgrade-e2e CI job (#1445)
There were several intentional breaking changes in the API which are now included in v0.18.0 release. Our upgrade-e2e job need to be updated to make take the changes into account. Relevant PRs: * operator-framework/operator-controller#1439 * operator-framework/operator-controller#1434 Signed-off-by: Mikalai Radchuk <[email protected]>
1 parent aaa0e00 commit 046c3df

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Diff for: config/samples/catalogd_operatorcatalog.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ spec:
77
type: Image
88
image:
99
ref: quay.io/operatorhubio/catalog:latest
10-
pollInterval: 10m
10+
pollIntervalMinutes: 10

Diff for: hack/test/pre-upgrade-setup.sh

+4-5
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
2929
type: Image
3030
image:
3131
ref: ${TEST_CATALOG_IMG}
32-
pollInterval: 24h
32+
pollIntervalMinutes: 1440
3333
EOF
3434

3535
kubectl apply -f - <<EOF
@@ -132,15 +132,14 @@ kind: ClusterExtension
132132
metadata:
133133
name: ${TEST_CLUSTER_EXTENSION_NAME}
134134
spec:
135+
namespace: default
136+
serviceAccount:
137+
name: upgrade-e2e
135138
source:
136139
sourceType: Catalog
137140
catalog:
138141
packageName: prometheus
139142
version: 1.0.0
140-
install:
141-
namespace: default
142-
serviceAccount:
143-
name: upgrade-e2e
144143
EOF
145144

146145
kubectl wait --for=condition=Serving --timeout=60s ClusterCatalog $TEST_CLUSTER_CATALOG_NAME

0 commit comments

Comments
 (0)