mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Varios configuration parameters for etcd (#358)
* Add https and auth support for etcd Also implement support of PATRONI_ETCD_URL and PATRONI_ETCD_SRV environment variables * Implement etcd.proxy etcd.cacert, etcd.cert and etcd.key support Now it should be possible to set up fully encrypted connection to etcd with authorization.
This commit is contained in:
committed by
GitHub
parent
c6417b2558
commit
b299b12f58
@@ -40,6 +40,12 @@ class TestConfig(unittest.TestCase):
|
||||
'PATRONI_POSTGRESQL_DATA_DIR': 'data/postgres0',
|
||||
'PATRONI_POSTGRESQL_PGPASS': '/tmp/pgpass0',
|
||||
'PATRONI_ETCD_HOST': '127.0.0.1:2379',
|
||||
'PATRONI_ETCD_URL': 'https://127.0.0.1:2379',
|
||||
'PATRONI_ETCD_PROXY': 'http://127.0.0.1:2379',
|
||||
'PATRONI_ETCD_SRV': 'test',
|
||||
'PATRONI_ETCD_CACERT': '/cacert',
|
||||
'PATRONI_ETCD_CERT': '/cert',
|
||||
'PATRONI_ETCD_KEY': '/key',
|
||||
'PATRONI_CONSUL_HOST': '127.0.0.1:8500',
|
||||
'PATRONI_ZOOKEEPER_HOSTS': "'host1:2181','host2:2181'",
|
||||
'PATRONI_EXHIBITOR_HOSTS': 'host1,host2',
|
||||
|
||||
Reference in New Issue
Block a user