mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-30 04:06:34 +09:00
Seeding pgaudit.log and the connection-logging parameters through the $defaults merge let a falsy explicit value lose: a tenant setting log_connections: 0 while audit is on had it silently overwritten with on, because sprig merge reads a zero value as unset. Seed each key only when postgresql.parameters does not already set it, so an explicit value wins unconditionally. Also enumerate the valid pgaudit.log classes in the field description, since an unrecognised class makes pgaudit fall back to none and silently disables auditing. Assisted-by: LLM Signed-off-by: IvanHunters <xorokhotnikov@gmail.com>