Skip to content

Commit e075a74

Browse files
committed
Add client-body-buffer-size directive to VirtualServer
1 parent 5b86457 commit e075a74

15 files changed

+576
-0
lines changed

config/crd/bases/k8s.nginx.org_virtualserverroutes.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -878,6 +878,10 @@ spec:
878878
is enabled. The default is set in the proxy-busy-buffers-size
879879
ConfigMap key.'
880880
type: string
881+
client-body-buffer-size:
882+
description: Sets the size of the buffer used for reading the
883+
client request body.
884+
type: string
881885
client-max-body-size:
882886
description: Sets the maximum allowed size of the client request
883887
body. The default is set in the client-max-body-size ConfigMap

config/crd/bases/k8s.nginx.org_virtualservers.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,6 +1067,10 @@ spec:
10671067
is enabled. The default is set in the proxy-busy-buffers-size
10681068
ConfigMap key.'
10691069
type: string
1070+
client-body-buffer-size:
1071+
description: Sets the size of the buffer used for reading the
1072+
client request body.
1073+
type: string
10701074
client-max-body-size:
10711075
description: Sets the maximum allowed size of the client request
10721076
body. The default is set in the client-max-body-size ConfigMap

deploy/crds.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1916,6 +1916,10 @@ spec:
19161916
is enabled. The default is set in the proxy-busy-buffers-size
19171917
ConfigMap key.'
19181918
type: string
1919+
client-body-buffer-size:
1920+
description: Sets the size of the buffer used for reading the
1921+
client request body.
1922+
type: string
19191923
client-max-body-size:
19201924
description: Sets the maximum allowed size of the client request
19211925
body. The default is set in the client-max-body-size ConfigMap
@@ -3335,6 +3339,10 @@ spec:
33353339
is enabled. The default is set in the proxy-busy-buffers-size
33363340
ConfigMap key.'
33373341
type: string
3342+
client-body-buffer-size:
3343+
description: Sets the size of the buffer used for reading the
3344+
client request body.
3345+
type: string
33383346
client-max-body-size:
33393347
description: Sets the maximum allowed size of the client request
33403348
body. The default is set in the client-max-body-size ConfigMap

docs/crd/k8s.nginx.org_virtualserverroutes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ The `.spec` object supports the following fields:
169169
| `upstreams[].buffers.number` | `integer` | Configures the number of buffers. The default is set in the proxy-buffers ConfigMap key. |
170170
| `upstreams[].buffers.size` | `string` | Configures the size of a buffer. The default is set in the proxy-buffers ConfigMap key. |
171171
| `upstreams[].busy-buffers-size` | `string` | Sets the size of the buffers used for reading a response from the upstream server when the proxy_buffering is enabled. The default is set in the proxy-busy-buffers-size ConfigMap key.' |
172+
| `upstreams[].client-body-buffer-size` | `string` | Sets the size of the buffer used for reading the client request body. |
172173
| `upstreams[].client-max-body-size` | `string` | Sets the maximum allowed size of the client request body. The default is set in the client-max-body-size ConfigMap key. |
173174
| `upstreams[].connect-timeout` | `string` | The timeout for establishing a connection with an upstream server. The default is specified in the proxy-connect-timeout ConfigMap key. |
174175
| `upstreams[].fail-timeout` | `string` | The time during which the specified number of unsuccessful attempts to communicate with an upstream server should happen to consider the server unavailable. The default is set in the fail-timeout ConfigMap key. |

docs/crd/k8s.nginx.org_virtualservers.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ The `.spec` object supports the following fields:
204204
| `upstreams[].buffers.number` | `integer` | Configures the number of buffers. The default is set in the proxy-buffers ConfigMap key. |
205205
| `upstreams[].buffers.size` | `string` | Configures the size of a buffer. The default is set in the proxy-buffers ConfigMap key. |
206206
| `upstreams[].busy-buffers-size` | `string` | Sets the size of the buffers used for reading a response from the upstream server when the proxy_buffering is enabled. The default is set in the proxy-busy-buffers-size ConfigMap key.' |
207+
| `upstreams[].client-body-buffer-size` | `string` | Sets the size of the buffer used for reading the client request body. |
207208
| `upstreams[].client-max-body-size` | `string` | Sets the maximum allowed size of the client request body. The default is set in the client-max-body-size ConfigMap key. |
208209
| `upstreams[].connect-timeout` | `string` | The timeout for establishing a connection with an upstream server. The default is specified in the proxy-connect-timeout ConfigMap key. |
209210
| `upstreams[].fail-timeout` | `string` | The time during which the specified number of unsuccessful attempts to communicate with an upstream server should happen to consider the server unavailable. The default is set in the fail-timeout ConfigMap key. |

0 commit comments

Comments
 (0)