Inptroduce postgresql.proxy_address (#2437)

It will be written to member key in DCS as the `proxy_url` and could be used/useful for service discovery.
This commit is contained in:
Alexander Kukushkin
2022-10-24 10:23:06 +02:00
committed by GitHub
parent 580530b30f
commit 8f8e9c9b81
12 changed files with 22 additions and 3 deletions
+1
View File
@@ -40,6 +40,7 @@ class TestConfig(unittest.TestCase):
'PATRONI_RESTAPI_ALLOWLIST_INCLUDE_MEMBERS': 'on',
'PATRONI_POSTGRESQL_LISTEN': '0.0.0.0:5432',
'PATRONI_POSTGRESQL_CONNECT_ADDRESS': '127.0.0.1:5432',
'PATRONI_POSTGRESQL_PROXY_ADDRESS': '127.0.0.1:5433',
'PATRONI_POSTGRESQL_DATA_DIR': 'data/postgres0',
'PATRONI_POSTGRESQL_CONFIG_DIR': 'data/postgres0',
'PATRONI_POSTGRESQL_PGPASS': '/tmp/pgpass0',