Skip to content

Commit e2b8632

Browse files
Merge pull request #105 from numtide/fix/cluster-handler-images-and-resolver
feat(cluster-handler): integrate resolver and enforce v1alpha1 compliance
2 parents 0c8be56 + 32486b2 commit e2b8632

File tree

6 files changed

+479
-313
lines changed

6 files changed

+479
-313
lines changed

pkg/cluster-handler/controller/multigrescluster/doc.go

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,19 @@
66
//
77
// 1. Global Component Management:
88
// It directly manages singleton resources defined at the cluster level, such as the
9-
// Global TopoServer (via a child TopoServer CR) and the MultiAdmin deployment.
9+
// MultiAdmin deployment. It also manages the Global TopoServer (via a child TopoServer CR)
10+
// when the cluster is configured for managed topology (Etcd).
1011
//
1112
// 2. Resource Fan-Out (Child CR Management):
1213
// It projects the configuration defined in the MultigresCluster spec (Cells and Databases)
1314
// into discrete child Custom Resources (Cell and TableGroup). These child resources are
1415
// then reconciled by their own respective controllers.
1516
//
16-
// 3. Template Resolution:
17-
// It leverages the 'pkg/resolver' module to fetch CoreTemplates, CellTemplates, and
18-
// ShardTemplates, merging them with user-defined overrides to produce the final
19-
// specifications for child resources.
17+
// 3. Defaulting and Template Resolution:
18+
// It applies in-memory defaults (robustness against webhook unavailability) and leverages
19+
// the 'pkg/resolver' module to fetch CoreTemplates, CellTemplates, and ShardTemplates,
20+
// merging them with user-defined overrides to produce the final specifications for
21+
// child resources.
2022
//
2123
// 4. Status Aggregation:
2224
// It continually observes the status of its child resources to produce a high-level

0 commit comments

Comments
 (0)