Patroni PostgreSQL master failover

Hey guys is anyone using Patroni + PostgreSQL ? How are you handling master failover on elixir side ?
I don’t want to setup HAProxy and Corosync as to me it looks like too many moving pieces for a “simple” setup. (Patroni, etcd, HAProxy, Corosync). I am thinking simple postgrex wrapper that will watch for changes in Patroni’s etcd keys to recreate the pool when the master failsover is there a batter way? How are you handling this?