Skip to content

Conversation

@balnibarbian
Copy link

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.
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.

1 participant