Skip to content
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

Support a custom host for health server #818

Merged

Conversation

renan
Copy link
Contributor

@renan renan commented Mar 13, 2018

Instead of forcing to listen on all interfaces we should give the possibility for the user to make the health server listen on a specific host/IP.

Felix component should also be updated to support this flag.

Todos

  • [ ] Tests
  • Documentation
  • Release note

Instead of forcing to listen on all interfaces we should give the possibility for the user to make the health server listen on a specific host/ip.
@CLAassistant
Copy link

CLAassistant commented Mar 13, 2018

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@caseydavenport caseydavenport left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@renan thanks for the PR!

This looks really good to me. I'm going to leave the final approval to @neiljerram

Copy link
Member

@nelljerram nelljerram left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM too, thanks!

@renan
Copy link
Contributor Author

renan commented Mar 13, 2018

This appears to have no tests tho, and my limited knowledge of Golang prevents me from writing an integration test for it :/

@caseydavenport caseydavenport added this to the Calico v3.2.0 milestone Mar 13, 2018
@nelljerram
Copy link
Member

@renan Yes, you're off the hook there, because we don't yet have any test for ServeHTTP at all. (I think I have a TODO for it somewhere.)

@caseydavenport caseydavenport merged commit 66a5b38 into projectcalico:master Mar 27, 2018
@renan renan deleted the HealthServer_SupportCustomHost branch April 10, 2018 12:00
@caseydavenport caseydavenport removed this from the Calico v3.2.0 milestone Oct 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants