-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
health check: allow request header formatting for HTTP health check request #3882
Conversation
Signed-off-by: Dhi Aurrahman <dio@rockybars.com>
Thanks for doing this! I tried this branch out and it definitely fixed my issue (injecting upstream metadata) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this change.
Could you add a link from the HttpHealthCheck request_headers_to_add field to the Http Connection Manager custom request headers section and a note in version_history.rst? (The ref is <config_http_conn_man_headers_custom_request_headers>
.)
Signed-off-by: Dhi Aurrahman <dio@rockybars.com>
Signed-off-by: Dhi Aurrahman <dio@rockybars.com>
@bplotnick thank you for verifying this! @zuercher, thanks for the review. Updated the doc and release note in here: 75d1be9. |
@zuercher is there anything else that I need to look at? Thanks |
@alyssawilk do you have time to take a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for fixing this!
Description:
This PR enables the use of header formatting pattern for HTTP health check request.
And while at this, the hostname initialization is moved to the
HttpActiveHealthCheckSession
's constructor for consistency.Risk Level: Low.
Testing: Unit test.
Docs Changes: Updated.
Release Notes: Added.
Fixes #3835
Signed-off-by: Dhi Aurrahman dio@rockybars.com