Commit 9118837
Register ProjectQuota multicluster router in main (#831)
PR #827 split the ProjectQuota CRD into per-AZ CRDs and added a
ProjectQuotaResourceRouter in pkg/multicluster/routers.go, but this
router was never registered in the ResourceRouters map in
cmd/manager/main.go. This is the same class of bug that affected
FlavorGroupCapacity (fixed in PR #828) where the router implementation
existed but was not wired into the manager entrypoint.
Without this registration, ProjectQuota CRDs are not routed to the
correct per-AZ clusters in multi-cluster deployments, meaning quota data
would not be synced properly. This commit adds the ProjectQuota GVK and
its corresponding ProjectQuotaResourceRouter to the ResourceRouters map,
following the exact same pattern used by all other registered routers.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: cortex-ai-agents[bot] <279748396+cortex-ai-agents[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent 24773a4 commit 9118837
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| 347 | + | |
347 | 348 | | |
348 | 349 | | |
349 | 350 | | |
| |||
354 | 355 | | |
355 | 356 | | |
356 | 357 | | |
| 358 | + | |
357 | 359 | | |
358 | 360 | | |
359 | 361 | | |
| |||
0 commit comments