Repmgr extension for managing replication and failover in Openshift. Scripts serve to extend PostgreSQL container image using source-to-image. Follow the instructions for image extending, in the postgresql-container project.
Add extension scripts to the existing image:
$ s2i build --context-dir repmgr-fedora-extension/ https://github.com/mcyprian/postgresql-container-repmgr.git mcyprian/postgresql-10-fedora29-base mcyprian/postgresql-10-fedora29-repmgr:1.0