ffe7f87912
The HCL1 parser did not respect connect.sidecar_task.resources if the connect.sidecar_service block was not set (an optimiztion that no longer makes sense with connect gateways). Fixes #10899
21 lines
382 B
HCL
21 lines
382 B
HCL
job "sidecar_task_resources" {
|
|
type = "service"
|
|
|
|
group "group" {
|
|
service {
|
|
name = "example"
|
|
|
|
connect {
|
|
# should still work without sidecar_service being set (i.e. connect gateway)
|
|
sidecar_task {
|
|
resources {
|
|
cpu = 111
|
|
memory = 222
|
|
memory_max = 333
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|