mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Disable auth in order to use patronictl with the default configuration, remove obsolete replication_methods like.
This commit is contained in:
+1
-2
@@ -4,7 +4,7 @@ scope: &scope batman
|
|||||||
restapi:
|
restapi:
|
||||||
listen: 127.0.0.1:8008
|
listen: 127.0.0.1:8008
|
||||||
connect_address: 127.0.0.1:8008
|
connect_address: 127.0.0.1:8008
|
||||||
auth: 'username:password'
|
# auth: 'username:password'
|
||||||
# certfile: /etc/ssl/certs/ssl-cert-snakeoil.pem
|
# certfile: /etc/ssl/certs/ssl-cert-snakeoil.pem
|
||||||
# keyfile: /etc/ssl/private/ssl-cert-snakeoil.key
|
# keyfile: /etc/ssl/private/ssl-cert-snakeoil.key
|
||||||
etcd:
|
etcd:
|
||||||
@@ -72,7 +72,6 @@ postgresql:
|
|||||||
- basebackup
|
- basebackup
|
||||||
# - wal_e
|
# - wal_e
|
||||||
# commented-out example for wal-e provisioning
|
# commented-out example for wal-e provisioning
|
||||||
#create_replica_method: wal_e, basebackup
|
|
||||||
#wal_e:
|
#wal_e:
|
||||||
#command: /patroni/scripts/wale_restore.py
|
#command: /patroni/scripts/wale_restore.py
|
||||||
#env_dir: /etc/wal-e.d/env
|
#env_dir: /etc/wal-e.d/env
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ scope: &scope batman
|
|||||||
restapi:
|
restapi:
|
||||||
listen: 127.0.0.1:8009
|
listen: 127.0.0.1:8009
|
||||||
connect_address: 127.0.0.1:8009
|
connect_address: 127.0.0.1:8009
|
||||||
auth: 'username:password'
|
# auth: 'username:password'
|
||||||
# certfile: /etc/ssl/certs/ssl-cert-snakeoil.pem
|
# certfile: /etc/ssl/certs/ssl-cert-snakeoil.pem
|
||||||
# keyfile: /etc/ssl/private/ssl-cert-snakeoil.key
|
# keyfile: /etc/ssl/private/ssl-cert-snakeoil.key
|
||||||
etcd:
|
etcd:
|
||||||
|
|||||||
Reference in New Issue
Block a user