Added support for setting bodyParser limit param via environment variable (#1618)
In the NodeJs environment, the body-parser was set to 1MB, this change makes it configurable with an env variable.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
apiVersion: fission.io/v1
|
||||
kind: Environment
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: node
|
||||
namespace: default
|
||||
spec:
|
||||
builder:
|
||||
command: build
|
||||
image: fission/node-builder:latest
|
||||
imagepullsecret: ""
|
||||
keeparchive: false
|
||||
poolsize: 3
|
||||
resources: {}
|
||||
runtime:
|
||||
image: fission/node-env:latest
|
||||
container:
|
||||
env:
|
||||
- name: BODY_PARSER_LIMIT
|
||||
value: 100mb
|
||||
version: 2
|
||||
Reference in New Issue
Block a user