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

Adds a toMap function which converts a ServiceTags element into a map. #410

Closed
wants to merge 1 commit into from
Closed

Conversation

etlweather
Copy link

This is needed to use the Registrator / Consul-Template tools in order to dynamically configure Apache. Since Consul does not support Registrator's Attributes, and can only work with labels, a method of having key-values is necessary. By creating key=value labels, one can achieve this.

This is needed to use the Registrator (http://gliderlabs.com/registrator) / Consul-Template tools in order to dynamically configure Apache. Since Consul does not support Registrator's Attributes, and can only work with labels, a method of having key-values is necessary. By creating key=value labels, one can achieve this.
@sethvargo
Copy link
Contributor

Hey @etlweather

Thank you for the Pull Request. I understand this is a real problem you are facing, but I am against adding this kind of function to Consul Template. Instead, we are going to work to add this kind of metadata support as a first-class citizen in Consul itself. Please track hashicorp/consul#1107 for that work. Thank you! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants