Skip to content

Commit d83ffee

Browse files
committed
fix(hcco): align CatalogSource registryPoll interval with OCP defaults
Update HCCO-managed CatalogSource registryPoll interval from 10m to 240m to match standard OCP 4.18+ defaults set by operator-marketplace. This change: - Reduces control plane resource consumption from catalog polling - Decreases etcd churn and storage growth - Improves scalability for management clusters hosting many HCPs - Aligns HyperShift behavior with upstream OCP (changed in OCPBUGS-69441) Trade-off: Catalog update discovery latency increases from 10 minutes to 4 hours. Users can manually trigger refresh by deleting the CatalogSource pod if needed. Signed-off-by: Shital Jadhav <shijadha@redhat.com> Commit-Message-Assisted-by: Claude (via Claude Code)
1 parent b39a15b commit d83ffee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • control-plane-operator/hostedclusterconfigoperator/controllers/resources/olm

control-plane-operator/hostedclusterconfigoperator/controllers/resources/olm/catalogs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ func reconcileCatalogSource(cs *operatorsv1alpha1.CatalogSource, address string,
4141
Priority: priority,
4242
UpdateStrategy: &operatorsv1alpha1.UpdateStrategy{
4343
RegistryPoll: &operatorsv1alpha1.RegistryPoll{
44-
RawInterval: "10m",
45-
Interval: &metav1.Duration{Duration: 10 * time.Minute},
44+
RawInterval: "240m",
45+
Interval: &metav1.Duration{Duration: 240 * time.Minute},
4646
},
4747
},
4848
}

0 commit comments

Comments
 (0)