---
apiVersion: v1
kind: ConfigMap
metadata:
name: stalwart-bootstrap-config
namespace: stalwart
data:
# DEV-476: Bootstrap now points at the PostgreSQL config/data store.
# PGPASSWORD is injected into the stalwart container from
# secret/stalwart-postgres-credentials (see stalwart-fresh-deployment.yaml).
config.json: '{"@type":"PostgreSql","host":"stalwart-postgres","port":5432,"database":"stalwart","authUsername":"stalwart","authSecret":{"@type":"EnvironmentVariable","variableName":"PGPASSWORD"},"useTls":false}'