You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(cluster-handler): integrate resolver and enforce v1alpha1 compliance
This commit refactors the MultigresCluster controller to fully integrate the
new granular resolver logic and ensure strict compliance with the v1alpha1 API.
Changes:
- Integrated `resolver` package to handle the 4-level override chain for
GlobalTopo, MultiAdmin, Cells, and Shards directly in the reconciler.
- Added in-memory execution of `PopulateClusterDefaults` at the start of
reconciliation. This guarantees the "System Catalog" (postgres/default/shard-0)
is injected even if the mutating webhook is disabled or fails.
- Updated child resource creation (Cells, TableGroups) to use the new nested
`Images` struct, ensuring `ImagePullPolicy` and `ImagePullSecrets` are
correctly propagated.
- Updated integration tests to respect strict v1alpha1 validation rules
(Database must be "postgres", TableGroup must be "default").
0 commit comments