11 lines
330 B
Plaintext
11 lines
330 B
Plaintext
if (
|
|
.kind? == "Deployment"
|
|
and .apiVersion? == "apps/v1"
|
|
and (.metadata.name? == "app-service" or .metadata.name? == "proxy-service")
|
|
) then
|
|
.spec.template.spec.containers[0].env //= []
|
|
| .spec.template.spec.containers[0].env += [{"name":"HTTP_MB_LIMIT","value":"250"}] # ,{"name":"","value":"10000"}]
|
|
else
|
|
.
|
|
end
|