diff --git a/apps/base/osint/postgres-deployment.yaml b/apps/base/osint/postgres-deployment.yaml index 3f37a54..dd4a051 100644 --- a/apps/base/osint/postgres-deployment.yaml +++ b/apps/base/osint/postgres-deployment.yaml @@ -60,6 +60,12 @@ spec: value: osint - name: POSTGRES_DB value: osint_data + # Bare `psql`/`pg_dump -U osint` inside this pod would otherwise + # default the database to the USER name and log + # `FATAL: database "osint" does not exist` (seen 2026-11-21 22:15 + # on deploy/osint-db). PGDATABASE makes the correct db the default. + - name: PGDATABASE + value: osint_data - name: PGDATA value: /var/lib/postgresql/data/pgdata - name: POSTGRES_PASSWORD