From ff65eb8597de1132bc45a765b8fd54d0015faa8f Mon Sep 17 00:00:00 2001 From: Camila Macedo Date: Mon, 11 Nov 2024 11:38:03 +0000 Subject: [PATCH] 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 --- config/samples/catalogd_operatorcatalog.yaml | 2 +- docs/getting-started/olmv1_getting_started.md | 2 +- docs/tutorials/add-catalog.md | 4 ++-- hack/test/pre-upgrade-setup.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/samples/catalogd_operatorcatalog.yaml b/config/samples/catalogd_operatorcatalog.yaml index 48f1da573..ef8813e55 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..eb77d8c49 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..44f27818d 100644 --- a/docs/tutorials/add-catalog.md +++ b/docs/tutorials/add-catalog.md @@ -35,7 +35,7 @@ This catalog is distributed as an image [quay.io/operatorhubio/catalog](https:// type: Image image: ref: - pollInterval: + PollIntervalMinutes: ``` `catalog_name` @@ -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 - <