From 12bb734c2d467b3d63a2bb94aa42213525332ac9 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Sun, 5 Apr 2026 13:44:59 +0200 Subject: [PATCH] fix: use tcpSocket probe for logto-postgresql instead of pg_isready pg_isready without -U defaults to OS user "root" which doesn't exist as a PostgreSQL role, causing noisy log entries. Co-Authored-By: Claude Opus 4.6 (1M context) --- deploy/logto.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy/logto.yaml b/deploy/logto.yaml index 22e45cd6..62cbee11 100644 --- a/deploy/logto.yaml +++ b/deploy/logto.yaml @@ -59,13 +59,13 @@ spec: memory: "512Mi" cpu: "500m" livenessProbe: - exec: - command: ["pg_isready"] + tcpSocket: + port: 5432 initialDelaySeconds: 15 periodSeconds: 10 readinessProbe: - exec: - command: ["pg_isready"] + tcpSocket: + port: 5432 initialDelaySeconds: 5 periodSeconds: 5 volumeClaimTemplates: