Files
fission-src/examples/spec-example/nodejs-bodyParser-limit-example/specs/function-hello.yaml
T
Rahul BhatiandGitHub 9dd084810f 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.
2020-05-24 00:16:03 +05:30

55 lines
1023 B
YAML

include:
- hello/*
kind: ArchiveUploadSpec
name: hello-dBc6
---
apiVersion: fission.io/v1
kind: Package
metadata:
creationTimestamp: null
name: hello-a98928ed-6b06-482f-9eb5-541540e714b1
namespace: default
spec:
deployment:
checksum: {}
environment:
name: node
namespace: default
source:
checksum: {}
type: url
url: archive://hello-dBc6
status:
buildstatus: pending
lastUpdateTimestamp: "2020-05-20T14:12:17Z"
---
apiVersion: fission.io/v1
kind: Function
metadata:
creationTimestamp: null
name: hello
namespace: default
spec:
InvokeStrategy:
ExecutionStrategy:
ExecutorType: poolmgr
MaxScale: 0
MinScale: 0
SpecializationTimeout: 120
TargetCPUPercent: 0
StrategyType: execution
configmaps: null
environment:
name: node
namespace: default
functionTimeout: 60
package:
functionName: hello
packageref:
name: hello-a98928ed-6b06-482f-9eb5-541540e714b1
namespace: default
resources: {}
secrets: null