Skip to content

feat: replace all client with Lister from mcr provider#539

Merged
OlegErshov merged 22 commits intomainfrom
feat/wildcard-cache-for-all-client
May 11, 2026
Merged

feat: replace all client with Lister from mcr provider#539
OlegErshov merged 22 commits intomainfrom
feat/wildcard-cache-for-all-client

Conversation

@OlegErshov
Copy link
Copy Markdown
Contributor

@OlegErshov OlegErshov commented May 5, 2026

On-behalf-of: SAP aleh.yarshou@sap.com

This pr addresses this issue #495

Changes:

  1. Use Lister().List for global List calls across all shards and all clusters
  2. Update code according to the 0.7.0 version of mc provider
  3. Add multi provider for system pod. It's required for future store migration and quite beneficial for making ApiExportPolicy reconciler works against sharding and provider.Lister().List instead of allClient
  4. In ApiExportPolicy controller switch to watching Accounts instead of Workspaces for enqueue. It was done for convenience of watching for a new organization in the system
  5. Fix mockery config

On-behalf-of: SAP aleh.yarshou@sap.com
@OlegErshov OlegErshov self-assigned this May 5, 2026
@OlegErshov OlegErshov linked an issue May 5, 2026 that may be closed by this pull request
@github-actions github-actions Bot added the chore label May 6, 2026
OlegErshov added 4 commits May 6, 2026 15:37
On-behalf-of: SAP aleh.yarshou@sap.com
On-behalf-of: SAP aleh.yarshou@sap.com
On-behalf-of: SAP aleh.yarshou@sap.com
On-behalf-of: SAP aleh.yarshou@sap.com
@OlegErshov OlegErshov marked this pull request as ready for review May 6, 2026 16:11
@OlegErshov OlegErshov requested review from a team as code owners May 6, 2026 16:11
OlegErshov added 2 commits May 6, 2026 21:32
On-behalf-of: SAP aleh.yarshou@sap.com
On-behalf-of: SAP aleh.yarshou@sap.com
@github-actions github-actions Bot added the fix label May 7, 2026
OlegErshov and others added 4 commits May 7, 2026 11:26
On-behalf-of: SAP aleh.yarshou@sap.com
On-behalf-of: SAP aleh.yarshou@sap.com
On-behalf-of: SAP aleh.yarshou@sap.com
Comment thread internal/controller/apiexportpolicy_controller.go Outdated
Co-authored-by: Aaron Schweig <42006873+aaronschweig@users.noreply.github.com>
coderabbitai[bot]
coderabbitai Bot previously approved these changes May 8, 2026
On-behalf-of: SAP aleh.yarshou@sap.com
On-behalf-of: SAP aleh.yarshou@sap.com
aaronschweig
aaronschweig previously approved these changes May 8, 2026
On-behalf-of: SAP aleh.yarshou@sap.com
@OlegErshov OlegErshov merged commit 8dc6044 into main May 11, 2026
14 checks passed
@OlegErshov OlegErshov deleted the feat/wildcard-cache-for-all-client branch May 11, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

kcp multi-shard support

2 participants