parent
d558415684
commit
3c80b4a970
@ -117,10 +117,7 @@ spec:
|
|||||||
mountPath: /dev
|
mountPath: /dev
|
||||||
env:
|
env:
|
||||||
- name: MQTT_BROKER
|
- name: MQTT_BROKER
|
||||||
valueFrom:
|
value: localhost # because use host network
|
||||||
configMapKeyRef:
|
|
||||||
key: MQTT_BROKER_HOST
|
|
||||||
name: robocar
|
|
||||||
- name: MQTT_USERNAME
|
- name: MQTT_USERNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
@ -4,11 +4,8 @@ metadata:
|
|||||||
name: robocar
|
name: robocar
|
||||||
data:
|
data:
|
||||||
# Broker configuration
|
# Broker configuration
|
||||||
#MQTT_BROKER_HOST: 192.168.217.19
|
MQTT_BROKER_HOST: mqtt.robocar.svc.cluster.local
|
||||||
#MQTT_BROKER: "tcp://192.168.217.19:1883"
|
MQTT_BROKER: "tcp://mqtt.robocar.svc.cluster.local:1883"
|
||||||
MQTT_BROKER_HOST: 192.168.2.221
|
|
||||||
MQTT_BROKER: "tcp://192.168.2.221:1883"
|
|
||||||
#MQTT_BROKER: "tcp://mqtt.robocar.svc.cluster.local:1883"
|
|
||||||
|
|
||||||
# Camera
|
# Camera
|
||||||
MQTT_TOPIC_CAMERA: car/satanas/part/camera/camera/color
|
MQTT_TOPIC_CAMERA: car/satanas/part/camera/camera/color
|
||||||
|
@ -8,5 +8,6 @@ metadata:
|
|||||||
subsets:
|
subsets:
|
||||||
- addresses:
|
- addresses:
|
||||||
- ip: 192.168.2.221
|
- ip: 192.168.2.221
|
||||||
|
# - ip: 192.168.217.19
|
||||||
ports:
|
ports:
|
||||||
- port: 1883
|
- port: 1883
|
Loading…
Reference in New Issue
Block a user