Description of problem:
Updates to the `.spec.updateStrategy.registryPoll.interval` fields for a default CatalogSource are reverted.
Version-Release number of selected component (if applicable):
4.12.5
How reproducible:
100%
Steps to Reproduce:
$ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.12.5 True False 86m Cluster version is 4.12.5 $ oc get catalogsource -n openshift-marketplace redhat-operators -o jsonpath='{.spec.updateStrategy.registryPoll.interval}' 10m $ oc patch -n openshift-marketplace catalogsource/redhat-operators --type=merge -p '{"spec":{"updateStrategy":{"registryPoll":{"interval":"30m0s"}}}}' catalogsource.operators.coreos.com/redhat-operators patched
Actual results:
$ oc get catalogsource -n openshift-marketplace redhat-operators -o jsonpath='{.spec.updateStrategy.registryPoll.interval}' 10m $ oc logs -n openshift-marketplace deployment/marketplace-operator time="2023-03-14T09:43:58Z" level=info msg="[defaults] Restoring CatalogSource redhat-operators" time="2023-03-14T09:43:58Z" level=info msg="[defaults] CatalogSource redhat-operators is annotated and its spec is the same as the default spec"
Expected results:
In 4.12.3 the updated value remains: $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.12.3 True False 15d Cluster version is 4.12.3 $ oc get catalogsource -n openshift-marketplace redhat-operators -o jsonpath='{.spec.updateStrategy.registryPoll.interval}' 10m $ oc patch -n openshift-marketplace catalogsource/redhat-operators --type=merge -p '{"spec":{"updateStrategy":{"registryPoll":{"interval":"30m0s"}}}}' catalogsource.operators.coreos.com/redhat-operators patched $ oc get catalogsource -n openshift-marketplace redhat-operators -o jsonpath='{.spec.updateStrategy.registryPoll.interval}' 30m0s
Additional info:
- is cloned by
-
OCPBUGS-14108 Unable to modify CatalogSource registryPoll interval in OCP 4.12.5
- Closed
- is related to
-
RFE-5603 Make CatalogSource registryPoll interval configurable
- Backlog
- links to
-
RHEA-2023:5006 rpm