Skip to content

Commit

Permalink
remove limit of max body size in mesh (#836)
Browse files Browse the repository at this point in the history
  • Loading branch information
localvar committed Oct 26, 2022
1 parent 2410c79 commit ba3c00a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/object/meshcontroller/spec/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ func (b *pipelineSpecBuilder) appendProxyWithCanary(param *proxyParam) *pipeline
Kind: proxy.Kind,
},
},
ServerMaxBodySize: -1,
}

needMTLS := false
Expand Down
1 change: 1 addition & 0 deletions pkg/object/meshcontroller/spec/ingresscontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ name: %s
port: %d
keepAlive: true
https: false
clientMaxBodySize: -1
rules:`

const ruleFmt = `
Expand Down
2 changes: 2 additions & 0 deletions pkg/object/meshcontroller/spec/sidecar.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ port: %d
keepAlive: %v
keepAliveTimeout: %s
https: false
clientMaxBodySize: -1
`
if timeout == "" {
timeout = defaultKeepAliveTimeout
Expand Down Expand Up @@ -153,6 +154,7 @@ https: %s
certBase64: %s
keyBase64: %s
caCertBase64: %s
clientMaxBodySize: -1
rules:
- paths:
- pathPrefix: /
Expand Down

0 comments on commit ba3c00a

Please sign in to comment.