Closed micahlmartin closed 8 years ago
Looks for a label in the state.json with the tags key and parses it as a comma-separated list of values into ServiceTags in Consul.
tags
ServiceTags
// state.json labels: [{ key: "tags", value: "label1,label2,label3" }]
// /v1/catalog/service/<service-id> ServiceTags: [ "label1", "label2", "label3" ]
I added this to the 0.3 branch that was just merged into the master.
Looks for a label in the state.json with the
tags
key and parses it as a comma-separated list of values intoServiceTags
in Consul.