feat(balancer): integrate sandbox overlay with CNPG + Gateway API + CORS#143
feat(balancer): integrate sandbox overlay with CNPG + Gateway API + CORS#143TineoC wants to merge 4 commits into
Conversation
- Update balancer source to use integration branch (TineoC/balancer-main#integrate-all-migration) - Change holomapping root from base to overlays/sandbox for CNPG + Gateway API + CORS changes - Depends on CodeForPhilly/balancer-main#507
Moved from balancer-main base manifests. The Database CRD must be in the same namespace as the Cluster (cloudnative-pg). Kustomize's namespace override in the app overlay was incorrectly placing it in the balancer namespace.
- Remove balancer-database.yaml from infra (now in balancer-main sandbox overlay) - Update lens root from 'balancer' to 'balancer/manifests/overlays/sandbox' so kustomize build finds the correct kustomization.yaml
- Update balancer source to track CodeForPhilly/balancer-main develop branch - Add balancer-cnpg.toml lens for the CNPG Database kustomization (separate lens needed because kustomize namespace override prevents including it as a resource in the main overlay) Depends on CodeForPhilly/balancer-main#507 merging into develop.
| [holomapping] | ||
| holosource = "balancer" | ||
| root = "deploy/manifests/balancer/base" | ||
| root = "deploy/manifests/balancer/overlays/sandbox" |
There was a problem hiding this comment.
@TineoC this path doesn't exist on the develop branch in the balancer repo: https://github.com/CodeForPhilly/balancer-main/tree/develop/deploy/manifests/balancer/overlays
There was a problem hiding this comment.
NVM just saw #507 over in the balancer repo
|
Superseded by PR #160 (`feat(balancer): clean design with shared-cluster cnpg + Envoy Gateway`). Closing. The clean design we landed solves all three concerns in this PR without requiring
Layout in this repo now: Single hololens, single source pinned to a real tag (no mutable What's left to actually run balancer on the new database is tracked in a separate follow-up issue (linked once I file it). |
Summary
Updates the balancer hologit projection to use the integrated sandbox overlay from
balancer-main, which includes:Ingress→HTTPRoute+ListenerSetfor Envoy GatewayDatabaseCRD for shared PostgreSQL cluster +balancer-db-configConfigMapChanges:
.holo/sources/balancer.toml: Points to integration branch (TineoC/balancer-main#integrate-all-migration).holo/branches/k8s-manifests/balancer/manifests.toml: Root changed frombase→overlays/sandboxDepends on:
Post-merge:
balancer.tomlsource to point to the main repo tag instead of the forkgit holo project k8s-manifests-githubto verify projectionbalancer-db-credentialsSealedSecret exists incloudnative-pgnamespaceRelated: