Current Behaviour
When configuring the Edge Limiting policy with a Redis cache if the connection to Redis fails the client receives a verbose response body such as the below:
HTTP 500 failed to connect to redis on redis.<namespace>.svc.cluster.local:6379: connection refused
Expected Behaviour
When configuring the Edge Limiting policy with a Redis cache if the connection to Redis fails the client should only receive the appropriate status code and no additional information regarding the Redis server itself.
Notes
The error message returned to the client is built here. It is returned to the client here. I think the most appropriate thing to do here is modify the response in the policy to only return the status code and a generic response message appropriate for said status code.