From 22d98ce77228bde6984dfee38a285f501e748343 Mon Sep 17 00:00:00 2001 From: Dhi Aurrahman Date: Tue, 3 Apr 2018 00:42:20 +0700 Subject: [PATCH] docs: unhide request headers to add field for health check (#595) This unhides request headers to add field for HTTP health check and put a release note line in the version history. Signed-off-by: Dhi Aurrahman --- docs/root/intro/version_history.rst | 2 ++ envoy/api/v2/core/health_check.proto | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/root/intro/version_history.rst b/docs/root/intro/version_history.rst index 67527d366..f772c6d6e 100644 --- a/docs/root/intro/version_history.rst +++ b/docs/root/intro/version_history.rst @@ -14,6 +14,8 @@ Version history * admin: added ``/stats/prometheus`` as an alternative endpoint for getting stats in prometheus format. * cli: added --config-yaml flag to the Envoy binary. When set its value is interpreted as a yaml representation of the bootstrap config and overrides --config-path. +* health check: added ability to set :ref:`additional HTTP headers + ` for HTTP health check. * logger: all :ref:`logging levels ` can be configured at run-time: trace debug info warning error critical. * logger: added the ability to optionally set the log format via the :option:`--log-format` option. diff --git a/envoy/api/v2/core/health_check.proto b/envoy/api/v2/core/health_check.proto index e949105a9..41303f885 100644 --- a/envoy/api/v2/core/health_check.proto +++ b/envoy/api/v2/core/health_check.proto @@ -79,9 +79,8 @@ message HealthCheck { // ` for more information. string service_name = 5; - // [#not-implemented-hide:] - // Specifies a list of HTTP headers that should be added to each request that is sent - // to the health checked cluster. + // Specifies a list of HTTP headers that should be added to each request that is sent to the + // health checked cluster. repeated core.HeaderValueOption request_headers_to_add = 6; }