fix: add dev DB DNS contract
This commit is contained in:
@@ -41,6 +41,11 @@ If both env vars are present, cloud-api attempts a short read-only TCP
|
||||
connection to the DB endpoint from the injected runtime env. The health payload
|
||||
keeps all endpoint details redacted and reports only:
|
||||
|
||||
The source-controlled DEV DNS contract for that endpoint is
|
||||
`cloud-api-db.hwlab-dev.svc.cluster.local:5432`. The actual connection string
|
||||
still comes from `hwlab-cloud-api-dev-db/database-url`; source records only the
|
||||
non-secret host/service/namespace/port contract.
|
||||
|
||||
- `db.configReady`: required env names are present.
|
||||
- `db.connectionAttempted`: the runtime tried the live connection path.
|
||||
- `db.connectionResult`: redacted classifier such as `connected`, `refused`,
|
||||
|
||||
Reference in New Issue
Block a user