operator-controller icon indicating copy to clipboard operation
operator-controller copied to clipboard

✨ Populate/update cache on ClusterCatalog reconcile

Open m1kola opened this issue 5 months ago • 2 comments

Description

Currently we fetch catalog data and populate cache on demand during ClusterExtension reconciliation. This works but the first reconciliation after ClusterCatalog creation or update is slow due to the need to fetch data.

With this change we proactively populate cache on ClusterCatalog creation and check if cache needs to be updated on ClusterCatalog update.

Reviewer Checklist

  • [ ] API Go Documentation
  • [ ] Tests: Unit Tests (and E2E Tests, if appropriate)
  • [ ] Comprehensive Commit Messages
  • [ ] Links to related GitHub Issue(s)

m1kola avatar Sep 19 '24 15:09 m1kola