diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-29 21:12:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-29 21:12:28 +0300 |
commit | 2262b9b3794192d0b90a5b942e6c786dd8d58967 (patch) | |
tree | 0c9c185fa32be15bf2fa9e2200d16718dab78fcd /doc/administration/postgresql | |
parent | 65e97ca5a0072ed41aaebaf756b164748a93720b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/administration/postgresql')
-rw-r--r-- | doc/administration/postgresql/replication_and_failover.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/administration/postgresql/replication_and_failover.md b/doc/administration/postgresql/replication_and_failover.md index a1fc8c49ee3..38fb13f5a1f 100644 --- a/doc/administration/postgresql/replication_and_failover.md +++ b/doc/administration/postgresql/replication_and_failover.md @@ -875,10 +875,11 @@ patroni['remove_data_directory_on_diverged_timelines'] = false Patroni uses a Unix socket to manage the PostgreSQL instance. Therefore, a connection from the `local` socket must be trusted. -Also, replicas use the replication user (`gitlab_replicator` by default) to communicate with the leader. For this user, +Replicas use the replication user (`gitlab_replicator` by default) to communicate with the leader. For this user, you can choose between `trust` and `md5` authentication. If you set `postgresql['sql_replication_password']`, -Patroni uses `md5` authentication, and otherwise falls back to `trust`. You must to specify the cluster CIDR in -`postgresql['md5_auth_cidr_addresses']` or `postgresql['trust_auth_cidr_addresses']` respectively. +Patroni uses `md5` authentication, and otherwise falls back to `trust`. + +Based on the authentication you choose, you must specify the cluster CIDR in the `postgresql['md5_auth_cidr_addresses']` or `postgresql['trust_auth_cidr_addresses']` settings. ### Interacting with Patroni cluster |