Skip to content

Conversation

@carlesarnal
Copy link
Member

@carlesarnal carlesarnal commented Jan 8, 2026

Export POSTGRES_USER and POSTGRES_DB environment variables so that envsubst correctly substitutes these values in the PostgreSQL deployment template's readiness/liveness probe commands.

Without this fix, envsubst replaces ${POSTGRES_USER} and ${POSTGRES_DB} with empty strings, causing the probe command to fail with: "FATAL: role '-d' does not exist"

I have also update the probe path for the Keycloak case, since this one uses tls.

Export POSTGRES_USER and POSTGRES_DB environment variables so that
envsubst correctly substitutes these values in the PostgreSQL
deployment template's readiness/liveness probe commands.

Without this fix, envsubst replaces ${POSTGRES_USER} and ${POSTGRES_DB}
with empty strings, causing the probe command to fail with:
"FATAL: role '-d' does not exist"
The authn profile configures TLS edge termination on routes, so the
health endpoint must be accessed via HTTPS instead of HTTP.
@carlesarnal carlesarnal merged commit d8dc709 into main Jan 8, 2026
108 of 135 checks passed
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.

3 participants