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

Configurable Consul tag name #30

Merged
merged 1 commit into from
Jan 15, 2016
Merged

Configurable Consul tag name #30

merged 1 commit into from
Jan 15, 2016

Conversation

dankraw
Copy link
Contributor

@dankraw dankraw commented Jan 15, 2016

consul-tag property added - fixes #29

@@ -62,6 +62,7 @@ func (config *Config) parseFlags() {
flag.StringVar(&config.Consul.SslCert, "consul-ssl-cert", "", "Path to an SSL client certificate to use to authenticate to the Consul server")
flag.StringVar(&config.Consul.SslCaCert, "consul-ssl-ca-cert", "", "Path to a CA certificate file, containing one or more CA certificates to use to validate the certificate sent by the Consul server to us")
flag.StringVar(&config.Consul.Token, "consul-token", "", "The Consul ACL token")
flag.StringVar(&config.Consul.Tag, "consul-tag", "marathon", "Common tag name added to every service registered in Consul, should be unique for every Marathon-cluster connected to Consul")
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe add this field in sample config?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

debian/config.json? it's added already

@janisz
Copy link
Contributor

janisz commented Jan 15, 2016

👍

dankraw added a commit that referenced this pull request Jan 15, 2016
@dankraw dankraw merged commit 04d84c6 into master Jan 15, 2016
@dankraw dankraw deleted the configurable_tag_name branch January 15, 2016 12:55
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.

Adding configurable tag name to Consul servies when registering
2 participants