Skip to content

Provision dedicated mendys Postgres role + Mongo user (MendysRobotics prod blocked) #166

Description

@izzywdev

@claude — cross-repo request from MendysRobotics (tracking: izzywdev/MendysRobotics#134).

Problem

MendysRobotics prod is blocked: no dedicated mendys datastore identity exists on the shared FuzeInfra datastores. Peer apps have one (fuzekeys-db-credentials, fuzesocial-app-db-credentials in the fuzeinfra namespace); mendys does not. The app connects with an empty credential and fails:

psycopg2.OperationalError: connection to server at "fuzeinfra-postgres.fuzeinfra", port 5432 failed: fe_sendauth: no password supplied

Consumers CrashLoop; Mongo-backed data falls back to mock. Verified via cluster-query: fuzeinfra-secrets holds only the shared admin role, and there is no mendys-*-db-credentials secret.

Please provision (same pattern as fuzekeys / fuzesocial)

  1. PostgreSQL: role mendys (with password) + database mendys on fuzeinfra-postgres.fuzeinfra:5432, role granted full access.
  2. MongoDB: user mendys with readWrite on db mendys (authSource admin) on fuzeinfra-mongodb.fuzeinfra:27017.
  3. Publish the creds the way peer apps do (e.g. a mendys-db-credentials Secret in the fuzeinfra namespace) and/or hand off so they can be loaded into MendysRobotics repo secrets MENDYS_PG_USERNAME/MENDYS_PG_PASSWORD/MENDYS_MONGO_USERNAME/MENDYS_MONGO_PASSWORD. Please do not paste raw secret values here — use the standard sealed-secrets / secure hand-off.

After provisioning (MendysRobotics side, ready)

Populate the four repo secrets → re-run seal-secretsmendys-secrets gets valid DATABASE_URL/MONGODB_URL → roll backend + enable consumers via Argo. All app-side work (rollout fix, dashboard fix, async site-discoverer, Brands UI) is already merged and waiting only on this.

Refs: izzywdev/MendysRobotics#134

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions