refactor(stage): restructure to 4-service pattern #2

Merged
goern merged 0 commits from refs/pull/2/head into main 2026-02-11 13:27:08 +00:00
goern commented 2026-02-11 13:27:00 +00:00 (Migrated from codeberg.org)

Summary

Replace the monolithic single-service "website" stage layout with the 4-service pattern (api, graphql, web, db-migrate) matching dev and prod.

Changes

  • Delete old feeldata/ monolithic directory (deployment, hpa, service, ingress, limits, monitors)
  • Delete obsolete migrate-postgresql pipeline and RBAC
  • Delete unused secrets (clerk, opencage, openweathermap)
  • Keep aws-creds for CNPG S3 backups
  • Move postgresql.yaml to stage root
  • Create per-service directories: api/, graphql/, web/, db-migrate/
  • Create configmap.yaml with *.stage.feeldata.app domains
  • Image tags set to INITIAL — will be set by promote-to-stage pipeline

Prerequisites before ArgoCD sync

  • Keycloak SealedSecret for feeldata-stage namespace
  • DNS records for stage.feeldata.app and api.stage.feeldata.app

Known limitation

NEXT_PUBLIC_API_URL is baked at build time in the web image. Promoted dev images will still point to api.dev.feeldata.app for client-side calls. Follow-up issue filed.

## Summary Replace the monolithic single-service "website" stage layout with the 4-service pattern (api, graphql, web, db-migrate) matching dev and prod. ### Changes - Delete old `feeldata/` monolithic directory (deployment, hpa, service, ingress, limits, monitors) - Delete obsolete `migrate-postgresql` pipeline and RBAC - Delete unused secrets (clerk, opencage, openweathermap) - Keep `aws-creds` for CNPG S3 backups - Move `postgresql.yaml` to stage root - Create per-service directories: `api/`, `graphql/`, `web/`, `db-migrate/` - Create `configmap.yaml` with `*.stage.feeldata.app` domains - Image tags set to `INITIAL` — will be set by promote-to-stage pipeline ### Prerequisites before ArgoCD sync - Keycloak SealedSecret for `feeldata-stage` namespace - DNS records for `stage.feeldata.app` and `api.stage.feeldata.app` ### Known limitation `NEXT_PUBLIC_API_URL` is baked at build time in the web image. Promoted dev images will still point to `api.dev.feeldata.app` for client-side calls. Follow-up issue filed.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
feeldata/manifests!2
No description provided.