apps(osint): set PGDATABASE=osint_data on osint-db

deploy/osint-db logged 'FATAL: database "osint" does not exist' straight
after it became ready (2026-11-21 22:15:15): any bare `psql -U osint` /
`pg_dump -U osint` inside the pod defaults the database to the user name.
PGDATABASE makes osint_data the default so ops commands cannot aim at a
database that does not exist. Probes already pass -d osint_data.
This commit is contained in:
Lance Walters 2026-11-21 17:58:33 -05:00
commit f0a82f85de

View file

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