Template - byTag doesn't work for nomadServices #13459
Labels
stage/accepted
Confirmed, and intend to work on. No timeline committment though.
theme/consul-template
type/bug
Milestone
Nomad version
Nomad v1.3.1 (2b054e38e91af964d1235faa98c286ca3f527e56)
Operating system and Environment details
Debian 11
Issue
Firstly, thank you so much for Nomad Service Discovery. I'm trying to create a few small, simple clusters for different projects and it felt like Consul etc was overkill.
I'm looking to create a config file which only includes services which have a specific tag. This was working with Consul using the byTag function. I've tried converting my template stanza from
to
Expected Result
Iteration through services and tags as with Consul services
Actual Result
Job file (if appropriate)
The full template section:
The text was updated successfully, but these errors were encountered: