operator-controller
operator-controller copied to clipboard
✨ Populate/update cache on ClusterCatalog reconcile
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)