-
Notifications
You must be signed in to change notification settings - Fork 715
/
mqtt.yaml
35 lines (35 loc) · 888 Bytes
/
mqtt.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
apiVersion: argoproj.io/v1alpha1
kind: Gateway
metadata:
name: mqtt-gateway
labels:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
gateway-name: "mqtt-gateway"
spec:
processorPort: "9330"
eventProtocol:
type: "HTTP"
http:
port: "9300"
template:
metadata:
name: "mqtt-gateway"
labels:
gateway-name: "mqtt-gateway"
spec:
containers:
- name: "gateway-client"
image: "argoproj/gateway-client"
imagePullPolicy: "Always"
command: ["/bin/gateway-client"]
- name: "mqtt-events"
image: "argoproj/mqtt-gateway"
imagePullPolicy: "Always"
command: ["/bin/mqtt-gateway"]
serviceAccountName: "argo-events-sa"
configMap: "mqtt-gateway-configmap"
type: "mqtt"
eventVersion: "1.0"
watchers:
sensors:
- name: "mqtt-sensor"