Add GRPC Buffer Size to the Configmap (#11155)
* feat: add grpc buffer size in the nginx template * feat: add grpc buffer size in the configmap struct * feat: add test for GRCP buffer size configuration in the configmap * chore: add documentation for the grcp buffer size configuration * fix: fix the copyright year of the test * fix: fix import order * fix: fix ignore for the linter - reason was missing * chore: seems like we don't need to ignore the error handling
This commit is contained in:
parent
c25b80ca00
commit
c0b3294bf4
4 changed files with 338 additions and 211 deletions
|
|
@ -331,6 +331,10 @@ http {
|
|||
client_body_buffer_size {{ $cfg.ClientBodyBufferSize }};
|
||||
client_body_timeout {{ $cfg.ClientBodyTimeout }}s;
|
||||
|
||||
{{ if gt $cfg.GRPCBufferSizeKb 0 }}
|
||||
grpc_buffer_size {{ $cfg.GRPCBufferSizeKb }}k;
|
||||
{{ end }}
|
||||
|
||||
{{ if and (ne $cfg.HTTP2MaxHeaderSize "") (ne $cfg.HTTP2MaxFieldSize "") }}
|
||||
http2_max_field_size {{ $cfg.HTTP2MaxFieldSize }};
|
||||
http2_max_header_size {{ $cfg.HTTP2MaxHeaderSize }};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue