-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Make RPC, Serf LAN, Serf WAN port configurable from CLI #4353
Conversation
Hey @azam, thanks for the PR. We already allow several differnt options for specifying these things so I'd be reluctant to add yet more unless there is a really compelling reason you can't use an existing one. Is there a reason you can't just use |
@banks Having to use hcl means that we have to parse them (and implement a parser for it) first to achieve what the same level of visibility as with normal arguments. There are other ways getting around that, and one of them is this change PR. It is a matter of convenience and preference. I got your point, but still I thought this was worth trying. Feel free to merge or close this. |
@azam thanks for the context. You present a more compelling reason than any I could come up with so I'll leave this open for discussion on our weekly team call to review community issues and PRs. Thanks! |
Can you add tests for this ( |
Also if you rebase the CI (Travis) should be a bit more reliable for tests here. |
Make RPC port accessible to CLI Add tests and documentation for server-port, serf-lan-port, serf-wan-port CLI arguments
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.
Great thanks for the contribution. Will be in 1.2.2.
Currently RPC, Serf LAN, Serf WAN ports are only configurable through configuration files.
In a deployment environment that chooses command line over configuration files, having to be able to define the ports from the CLI is helpful.