core: extend postgres configuration (#5138)

Add postgres configuration options to control
TLS verification and client certificates.
This commit is contained in:
Ongy
2023-04-02 17:39:36 +02:00
committed by GitHub
parent 6192d01b7e
commit adcd11b1f8
4 changed files with 16 additions and 0 deletions

View File

@ -29,6 +29,10 @@ while True:
password=CONFIG.y("postgresql.password"),
host=CONFIG.y("postgresql.host"),
port=int(CONFIG.y("postgresql.port")),
sslmode=CONFIG.y("postgresql.sslmode"),
sslrootcert=CONFIG.y("postgresql.sslrootcert"),
sslcert=CONFIG.y("postgresql.sslcert"),
sslkey=CONFIG.y("postgresql.sslkey"),
)
conn.cursor()
break