We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5665b6 commit e055dccCopy full SHA for e055dcc
internal/patroni/config.go
@@ -58,7 +58,9 @@ func clusterYAML(
58
"use_endpoints": true,
59
// To support transitioning to Patroni v4, set the value to 'master'.
60
// In a future release, this can be removed in favor of the default.
61
- "leader_label_value": naming.RolePatroniLeader,
+ // Do this for leaders in both primary and standby clusters.
62
+ "leader_label_value": naming.RolePatroniLeader,
63
+ "standby_leader_label_value": naming.RolePatroniLeader,
64
65
// In addition to "scope_label" above, Patroni will add the following to
66
// every object it creates. It will also use these as filters when doing
0 commit comments