Skip to content

Commit ff65eb8

Browse files
Fix follow-up for bumping catalogd to v0.36.0: Update pollInterval to pollIntervalMinutes in ClusterCatalog spec
In #1434, the API was updated to use pollIntervalMinutes instead of pollInterval. This commit ensures all references are properly updated. See: https://github.com/operator-framework/operator-controller/pull/1434/files#diff-93b46b0715181c9cf397eed60862261b7839ff721599fcc393a393b9edea610bR57
1 parent 6c2be08 commit ff65eb8

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

config/samples/catalogd_operatorcatalog.yaml

Lines changed: 1 addition & 1 deletion
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

docs/getting-started/olmv1_getting_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ spec:
4444
type: Image
4545
image:
4646
ref: quay.io/operatorhubio/catalog:latest
47-
pollInterval: 10m
47+
PollIntervalMinutes: 10
4848
EOF
4949
```
5050

docs/tutorials/add-catalog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ This catalog is distributed as an image [quay.io/operatorhubio/catalog](https://
3535
type: Image
3636
image:
3737
ref: <catalog_image>
38-
pollInterval: <poll_interval_duration>
38+
PollIntervalMinutes: <poll_interval_duration>
3939
```
4040
4141
`catalog_name`
@@ -57,7 +57,7 @@ This catalog is distributed as an image [quay.io/operatorhubio/catalog](https://
5757
type: Image
5858
image:
5959
ref: quay.io/operatorhubio/catalog:latest
60-
pollInterval: 10m
60+
PollIntervalMinutes: 10
6161
```
6262
6363
2. Apply the ClusterCatalog CR:

hack/test/pre-upgrade-setup.sh

Lines changed: 1 addition & 1 deletion
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

0 commit comments

Comments
 (0)