Skip to content

Commit

Permalink
Fix follow-up for bumping catalogd to v0.36.0: Update pollInterval to…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
camilamacedo86 committed Nov 11, 2024
1 parent 6c2be08 commit ff65eb8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/samples/catalogd_operatorcatalog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ spec:
type: Image
image:
ref: quay.io/operatorhubio/catalog:latest
pollInterval: 10m
PollIntervalMinutes: 10
2 changes: 1 addition & 1 deletion docs/getting-started/olmv1_getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
type: Image
image:
ref: quay.io/operatorhubio/catalog:latest
pollInterval: 10m
PollIntervalMinutes: 10
EOF
```

Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/add-catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ This catalog is distributed as an image [quay.io/operatorhubio/catalog](https://
type: Image
image:
ref: <catalog_image>
pollInterval: <poll_interval_duration>
PollIntervalMinutes: <poll_interval_duration>
```
`catalog_name`
Expand All @@ -57,7 +57,7 @@ This catalog is distributed as an image [quay.io/operatorhubio/catalog](https://
type: Image
image:
ref: quay.io/operatorhubio/catalog:latest
pollInterval: 10m
PollIntervalMinutes: 10
```
2. Apply the ClusterCatalog CR:
Expand Down
2 changes: 1 addition & 1 deletion hack/test/pre-upgrade-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
type: Image
image:
ref: ${TEST_CATALOG_IMG}
pollInterval: 24h
pollIntervalMinutes: 1440
EOF

kubectl apply -f - <<EOF
Expand Down

0 comments on commit ff65eb8

Please sign in to comment.