template cleanup

This commit is contained in:
Daniel Berteaud 2023-08-29 22:23:57 +02:00
parent b0a990ef0c
commit dc8e37a5e5
2 changed files with 7 additions and 7 deletions

2
deps/common vendored

@ -1 +1 @@
Subproject commit c1ce3ccbdbce15571f26aa7f3b70aba48dd36759
Subproject commit c7906097f20a6d1598500afaee825159146bc498

View File

@ -1,6 +1,6 @@
job "egress-gateway" {
[[ template "common/job_start.tpl" .nomad ]]
[[ template "common/job_start.tpl" . ]]
group "egress-gateway" {
@ -15,14 +15,14 @@ job "egress-gateway" {
gateway {
proxy {}
terminating {
[[- range $service, $def := .egress_gw.services ]]
[[- range $service, $def := .egress_gw.services ]]
service {
name = [[ $service | toJSON ]]
[[- range $k, $v := $def ]]
[[- range $k, $v := $def ]]
[[ $k ]] = [[ $v | toJSON ]]
[[- end ]]
[[- end ]]
}
[[- end ]]
[[- end ]]
}
}
sidecar_task {
@ -30,7 +30,7 @@ job "egress-gateway" {
# Access the CA certificate
volumes = ["../alloc/data:/data"]
}
[[ template "common/resources.tpl" .envoy ]]
[[ template "common/resources.tpl" .nomad.connect.resources ]]
}
}
}