22 lines
455 B
YAML
22 lines
455 B
YAML
apiVersion: "nuclio.io/v1beta1"
|
|
kind: "Function"
|
|
metadata:
|
|
name: esp8266-temperature-input
|
|
namespace: nuclio
|
|
spec:
|
|
runtime: "nodejs"
|
|
handler: "handler"
|
|
build:
|
|
registry: registry.lab.inf3.xyz
|
|
commands:
|
|
- "npm install --global moment"
|
|
triggers:
|
|
http:
|
|
maxWorkers: 2
|
|
kind: http
|
|
attributes:
|
|
ingresses:
|
|
second:
|
|
host: apis.lab.inf3.xyz
|
|
paths:
|
|
- /esp8266/sensors
|