diff --git a/config/samples/catalogd_operatorcatalog.yaml b/config/samples/catalogd_operatorcatalog.yaml index 48f1da573..8657f7a70 100644 --- a/config/samples/catalogd_operatorcatalog.yaml +++ b/config/samples/catalogd_operatorcatalog.yaml @@ -7,4 +7,4 @@ spec: type: Image image: ref: quay.io/operatorhubio/catalog:latest - pollInterval: 10m + pollIntervalMinutes: 10 diff --git a/docs/getting-started/olmv1_getting_started.md b/docs/getting-started/olmv1_getting_started.md index efffddde8..4b1f32e76 100644 --- a/docs/getting-started/olmv1_getting_started.md +++ b/docs/getting-started/olmv1_getting_started.md @@ -44,7 +44,7 @@ spec: type: Image image: ref: quay.io/operatorhubio/catalog:latest - pollInterval: 10m + pollIntervalMinutes: 10 EOF ``` diff --git a/docs/tutorials/add-catalog.md b/docs/tutorials/add-catalog.md index 2b75c666d..4282088d3 100644 --- a/docs/tutorials/add-catalog.md +++ b/docs/tutorials/add-catalog.md @@ -35,17 +35,17 @@ This catalog is distributed as an image [quay.io/operatorhubio/catalog](https:// type: Image image: ref: - pollInterval: + pollIntervalMinutes: ``` `catalog_name` : Specifies the image reference for the catalog you want to install, such as `quay.io/operatorhubio/catalog:latest`. `poll_interval_duration` - : Specifies the interval for polling the remote registry for newer image digests. - The default value is `24h`. - Valid units include seconds (`s`), minutes (`m`), and hours (`h`). - To disable polling, set a zero value, such as `0s`. + : Specifies the interval in minutes for polling the remote registry for new image content. + `pollIntervalMinutes` is optional and only accepts values in minutes. + It cannot be set when the image reference is digest-based. + To disable polling, omit this field. ``` yaml title="Example `operatorhubio.yaml` CR" apiVersion: olm.operatorframework.io/v1alpha1 @@ -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: diff --git a/hack/test/pre-upgrade-setup.sh b/hack/test/pre-upgrade-setup.sh index 00734f952..ff5099aa8 100755 --- a/hack/test/pre-upgrade-setup.sh +++ b/hack/test/pre-upgrade-setup.sh @@ -29,7 +29,7 @@ spec: type: Image image: ref: ${TEST_CATALOG_IMG} - pollInterval: 24h + pollIntervalMinutes: 1440 EOF kubectl apply -f - <