Allow job name customization

This commit is contained in:
Daniel Berteaud 2023-09-03 17:45:38 +02:00
parent dc8e37a5e5
commit 284aa3968f
3 changed files with 5 additions and 2 deletions

2
deps/common vendored

@ -1 +1 @@
Subproject commit c7906097f20a6d1598500afaee825159146bc498
Subproject commit a1738a81645748892a34d990c6df07cd1b4815ad

View File

@ -1,4 +1,4 @@
job "egress-gateway" {
job [[ .egress_gw.job_name | toJSON ]] {
[[ template "common/job_start.tpl" . ]]

View File

@ -1,6 +1,9 @@
---
egress_gw:
# Name of the Nomad job
job_name: egress-gateway
# Number of instances
count: 1