Skip to content

feat(balancer): integrate sandbox overlay with CNPG + Gateway API + CORS#143

Open
TineoC wants to merge 4 commits into
CodeForPhilly:mainfrom
TineoC:feat/balancer-cnpg-integration
Open

feat(balancer): integrate sandbox overlay with CNPG + Gateway API + CORS#143
TineoC wants to merge 4 commits into
CodeForPhilly:mainfrom
TineoC:feat/balancer-cnpg-integration

Conversation

@TineoC
Copy link
Copy Markdown
Contributor

@TineoC TineoC commented May 7, 2026

Summary

Updates the balancer hologit projection to use the integrated sandbox overlay from balancer-main, which includes:

  1. Gateway API migrationIngressHTTPRoute + ListenerSet for Envoy Gateway
  2. CORS configuration — Configurable allowed origins via ConfigMap
  3. CNPG databaseDatabase CRD for shared PostgreSQL cluster + balancer-db-config ConfigMap

Changes:

  • .holo/sources/balancer.toml: Points to integration branch (TineoC/balancer-main#integrate-all-migration)
  • .holo/branches/k8s-manifests/balancer/manifests.toml: Root changed from baseoverlays/sandbox

Depends on:

Post-merge:

  • After #507 merges, update balancer.toml source to point to the main repo tag instead of the fork
  • Run git holo project k8s-manifests-github to verify projection
  • Verify balancer-db-credentials SealedSecret exists in cloudnative-pg namespace

Related:

- 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
@TineoC TineoC requested a review from a team as a code owner May 7, 2026 21:25
@TineoC TineoC requested review from themightychris and removed request for a team May 7, 2026 21:25
TineoC added 3 commits May 7, 2026 17:51
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Architecture] Migrate ingress-nginx to supported alternative (EOL March 2026)

1 participant