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

Add -domain command line flag to agent #805

Merged
merged 1 commit into from
Mar 20, 2015

Conversation

discordianfish
Copy link
Contributor

This makes it possible to configure the domain on the command line
additionally to the config file.

I'm not sure why some things can be specified as command line flags and other only in the config, but I think the domain is such common option that it's worth adding it to the flags. This also makes it easier to configure consul when running as docker containers.

@sethvargo
Copy link
Contributor

Seems reasonable to me 👍

@ryanbreen
Copy link
Contributor

Could we get an update to website/source/docs/agent/options.html.markdown to document the new flag?

This makes it possible to configure the domain on the command line
additionally to the config file.
@discordianfish
Copy link
Contributor Author

@ryanbreen Like this?

@ryanbreen
Copy link
Contributor

Yep, LGTM!

@armon
Copy link
Member

armon commented Mar 20, 2015

LGTM! Thanks!

armon added a commit that referenced this pull request Mar 20, 2015
Add -domain command line flag to agent
@armon armon merged commit d0869e9 into hashicorp:master Mar 20, 2015
duckhan pushed a commit to duckhan/consul that referenced this pull request Oct 24, 2021
* So cert is valid if calling client via pod IP rather than host IP.
* Also add the host IP as a meta value to the client agent since this
information is not available through Consul right now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants