mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
fix: zigbee2mqtt usb config
This commit is contained in:
@@ -27,14 +27,14 @@ spec:
|
||||
homeassistant: true
|
||||
device_options:
|
||||
retain: true
|
||||
permit_join: true
|
||||
permit_join: false
|
||||
mqtt:
|
||||
base_topic: zigbee2mqtt
|
||||
server: "mqtt://vernemq"
|
||||
user: "${SECRET_MQTT_USERNAME}"
|
||||
password: "${SECRET_MQTT_PASSWORD}"
|
||||
serial:
|
||||
port: /dev/ttyUSB0
|
||||
port: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
|
||||
advanced:
|
||||
log_output:
|
||||
- console
|
||||
@@ -86,14 +86,19 @@ spec:
|
||||
mountPath: "/data"
|
||||
additionalVolumeMounts:
|
||||
- name: usb
|
||||
mountPath: /dev/ttyUSB0
|
||||
mountPath: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
|
||||
additionalVolumes:
|
||||
- name: usb
|
||||
hostPath:
|
||||
path: /dev/ttyUSB0
|
||||
path: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
|
||||
type: CharDevice
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- {key: "feature.node.kubernetes.io/custom-zigbee", operator: In, values: ["true"]}
|
||||
- {
|
||||
key: "feature.node.kubernetes.io/custom-zigbee",
|
||||
operator: In,
|
||||
values: ["true"],
|
||||
}
|
||||
|
@@ -50,6 +50,7 @@ spec:
|
||||
- name: usb
|
||||
hostPath:
|
||||
path: /dev/serial/by-id/usb-0658_0200-if00
|
||||
type: CharDevice
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
|
Reference in New Issue
Block a user