Remove node_pool and use job_start

This commit is contained in:
Daniel Berteaud 2023-08-25 00:04:24 +02:00
parent a27fffef7c
commit f4ce962b6c
3 changed files with 2 additions and 9 deletions

2
deps/common vendored

@ -1 +1 @@
Subproject commit 0fbb06ca922975ad5ffaf89323824b5b07f40bf1
Subproject commit 32a9bacc01c161bd60961fb578675f5c69026537

View File

@ -1,10 +1,6 @@
job "egress-gateway" {
datacenters = [[ .nomad.datacenters | toJSON ]]
# Egress GW runs on ddedicated, unrestricted nodes
[[- if has .egress_gw "node_pool" ]]
node_pool = [[ .egress_gw.node_pool | toJSON ]]
[[- end ]]
[[ template "common/job_start.tpl" . ]]
group "egress-gateway" {

View File

@ -1,9 +1,6 @@
---
egress_gw:
# Nomad node pool to run the gateway on
# node_pool: output
# Number of instances
count: 1