mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-13 03:42:35 -06:00
8b5cbfa07c
This adds a new config option for the OPA server (along with plumbing from `opa run` downward to the server) to configure separate diagnostic addresses to listen on. These will only be configured to serve the /metrics and /health. This will allow for more secure OPA deployments with the normal "data" or "policies" API's made to be only accessible on localhost. Fixes: #2002 Signed-off-by: Patrick East <east.patrick@gmail.com>