Skip to content

Commit

Permalink
docs: add note about PGHOST_REPLICA
Browse files Browse the repository at this point in the history
  • Loading branch information
davidumea committed Dec 3, 2024
1 parent 611a835 commit 93d88e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/user-guide/additional-services/postgresql.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ metadata:
name: $SECRET
namespace: $NAMESPACE
stringData:
# PGHOST represents a cluster-scoped DNS name or IP, which only makes sense inside the Kubernetes cluster.
# PGHOST represents a cluster-scoped DNS name, which only makes sense inside the Kubernetes cluster.
# E.g., postgresql1.postgres-system.svc.cluster.local
PGHOST: $PGHOST
# PGHOST_REPLICA represents a cluster-scoped DNS name that references the replica, can be used for read-only queries.
PGHOST_REPLICA: $PGHOST_REPLICA

# These fields map to the environment variables consumed by psql.
# Ref https://www.postgresql.org/docs/13/libpq-envars.html
Expand Down

0 comments on commit 93d88e1

Please sign in to comment.