forked from rook/rook
When the cluster is using HostNetworking, Rook was either picking up the external or internal IP of the node. This resulted in mon endpoints have public IP addresses. Those IP are not reachable from within the cluster so OSD/CSI couldn't access the monitors from the configmap endpoint. Also, exposing the cluster on a public network does not seem realistic, so sticky with private/internal IP addresses is better. Closes: https://github.com/rook/rook/issues/5495 Signed-off-by: Sébastien Han <seb@redhat.com>