In the NodeJs environment, the body-parser was set to 1MB, this change makes it configurable with an env variable.
55 lines
1023 B
YAML
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
|