Geo set-replication-password doesn't work with Patroni
Summary
When trying to setup a Geo enabled environment using Patroni the command gitlab-ctl set-replication-password
will fail with the error
There is no PostgreSQL instance enabled in Omnibus, exiting...
Steps to reproduce
This was found whilst configuring 2 multi-node instances of GitLab for Geo whilst using Patroni instead of repmgr. The command is being run on the primary sites postgres leader. The environment is built and managed by the quality teams performance environment builder and works when using repmgr.
What is the current bug behavior?
The command is unable to find the omnibus managed PostgreSQL instance.
What is the expected correct behavior?
The command should be able to query Patroni to find the managed instance of PostgreSQL