{"action":"opened","issue":{"url":"https://api.github.com/repos/joyent/containerbuddy/issues/54","labels_url":"https://api.github.com/repos/joyent/containerbuddy/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/joyent/containerbuddy/issues/54/comments","events_url":"https://api.github.com/repos/joyent/containerbuddy/issues/54/events","html_url":"https://github.com/joyent/containerbuddy/issues/54","id":123328922,"number":54,"title":"Service tags not exposed to consul templates","user":{"login":"donniev","id":1509665,"avatar_url":"https://avatars.githubusercontent.com/u/1509665?v=3","gravatar_id":"","url":"https://api.github.com/users/donniev","html_url":"https://github.com/donniev","followers_url":"https://api.github.com/users/donniev/followers","following_url":"https://api.github.com/users/donniev/following{/other_user}","gists_url":"https://api.github.com/users/donniev/gists{/gist_id}","starred_url":"https://api.github.com/users/donniev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donniev/subscriptions","organizations_url":"https://api.github.com/users/donniev/orgs","repos_url":"https://api.github.com/users/donniev/repos","events_url":"https://api.github.com/users/donniev/events{/privacy}","received_events_url":"https://api.github.com/users/donniev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-21T18:07:30Z","updated_at":"2015-12-21T18:07:30Z","closed_at":null,"body":"When I add a tag to a service I cannot access it in a consul template\r\n\r\nhexo.json\r\n```\r\n{\r\n  \"consul\": \"consul:8500\",\r\n  \"onStart\": \"/opt/containerbuddy/reload-hexo.sh\",\r\n  \"services\": [\r\n    {\r\n      \"name\": \"hexo\",\r\n      \"port\": 4000,\r\n      \"tags\":[\"joyent.blog.vawter.com\"],\r\n      \"health\": \"/usr/bin/curl --fail -s http://localhost:4000/\",\r\n      \"poll\": 10,\r\n      \"ttl\": 25\r\n    }\r\n  ],\r\n  \"backends\": [\r\n      ]\r\n}\r\n```\r\ntemplate\r\n```\r\n{{range services}}\r\n  {{range service .Name}}\r\n    {{.Name}}\r\n    {{.Address}}\r\n    {{.Port}}\r\n    {{.Tags}}\r\n   {{end}}\r\n {{end}}\r\n```\r\n\r\ntemplate output\r\n```\r\n \r\n    hexo\r\n    192.168.128.235\r\n    4000\r\n    []\r\n```\r\n   \r\n"}}