Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: support configuration of HTTP server address (#1365) (#131)
In Kubernetes, the convention is to bind HTTP probes and Prometheus endpoints to 0.0.0.0 (both lo and eth0). Since people might want to run this code on a GCE VM, default to localhost, but otherwise support binding to both interfaces. This is a port of GoogleCloudPlatform/cloud-sql-proxy#1365.
- Loading branch information