Skip to content

fix(metamcp): skip internal postgres config when using external DATAB…#35

Closed
balnibarbian wants to merge 1 commit intoicoretech:mainfrom
rhincodon-studio:fix/external-database-support
Closed

fix(metamcp): skip internal postgres config when using external DATAB…#35
balnibarbian wants to merge 1 commit intoicoretech:mainfrom
rhincodon-studio:fix/external-database-support

Conversation

@balnibarbian
Copy link
Contributor

When users provide env.DATABASE_URL to use an external PostgreSQL database, the chart should not:

  • Create the wait-db init container that waits for internal postgres
  • Inject internal postgres environment variables (POSTGRES_HOST, PGHOST, etc.)
  • Reference the internal postgres secret

This allows users to use external databases without needing to create dummy secrets or deal with init containers waiting for non-existent services.

Fixes the issue where postgres.enabled: false with external DATABASE_URL still required manual workarounds.

…ASE_URL

When users provide `env.DATABASE_URL` to use an external PostgreSQL database,
the chart should not:
- Create the wait-db init container that waits for internal postgres
- Inject internal postgres environment variables (POSTGRES_HOST, PGHOST, etc.)
- Reference the internal postgres secret

This allows users to use external databases without needing to create
dummy secrets or deal with init containers waiting for non-existent services.

Fixes the issue where `postgres.enabled: false` with external `DATABASE_URL`
still required manual workarounds.
@masterkain
Copy link
Member

I opened #38 which cherry-picks this change and adds the required chart version bump (ct version-gate).

This PR is cross-repo and "maintainer can modify" is disabled, so I can't push the version bump commit here directly.

@masterkain
Copy link
Member

Merged in #38 (includes the required chart version bump + maintainer metadata fix for ct lint). Closing this PR to avoid duplicate merges.

@masterkain masterkain closed this Feb 10, 2026
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.

2 participants