Stolon with istio sidecar

Hello all,

We would like to use stolon in istio service mesh. In the namespace where Stolon will run the istio injection enabled and mtls set to strict.

Problem:

Cluster cannot sync with each other. nobody can access the DB from outside the pod

Any idea ?

try to modify your StatefulSet
from

     export POD_IP=$(hostname -i)
     export STKEEPER_PG_LISTEN_ADDRESS=$POD_IP

to

     export POD_IP=$(hostname -i)
     export STKEEPER_PG_LISTEN_ADDRESS=127.0.0.1
     export STKEEPER_PG_ADVERTISE_ADDRESS=$POD_IP