Currently we are serving insecure metrics on all IPv4 routable addresses on the local machine (0.0.0.0).
In this PR, we make the metric IP configurable in order to ensure that we listen for insecure metrics port only on one IP to reduce security vulnerability.
This is a reimplementation of https://github.com/k8stopologyawareschedwg/resource-topology-exporter/pull/275 and https://github.com/k8stopologyawareschedwg/resource-topology-exporter/pull/280 on 0.16 branch to achieve the same end to end behavior.
Currently we are serving insecure metrics on all IPv4 routable addresses on the local machine (0.0.0.0).
In this PR, we make the metric IP configurable in order to ensure that we listen for insecure metrics port only on one IP to reduce security vulnerability.