From 16f25d2b7c2089ab7e34e693d13075c3eeeafaa6 Mon Sep 17 00:00:00 2001 From: auricom <27022259+auricom@users.noreply.github.com> Date: Wed, 21 Jul 2021 11:48:54 +0200 Subject: [PATCH] fix: usb config --- cluster/apps/home/zigbee2mqtt/helm-release.yaml | 3 ++- cluster/apps/home/zwavejs2mqtt/helm-release.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cluster/apps/home/zigbee2mqtt/helm-release.yaml b/cluster/apps/home/zigbee2mqtt/helm-release.yaml index 56093929d..ec0131018 100644 --- a/cluster/apps/home/zigbee2mqtt/helm-release.yaml +++ b/cluster/apps/home/zigbee2mqtt/helm-release.yaml @@ -88,8 +88,9 @@ spec: mountPath: "/data" usb: enabled: true - mountPath: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 + type: hostPath hostPath: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 + hostPathType: CharDevice affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: diff --git a/cluster/apps/home/zwavejs2mqtt/helm-release.yaml b/cluster/apps/home/zwavejs2mqtt/helm-release.yaml index 7a8bc4f82..e1502f2b2 100644 --- a/cluster/apps/home/zwavejs2mqtt/helm-release.yaml +++ b/cluster/apps/home/zwavejs2mqtt/helm-release.yaml @@ -52,8 +52,9 @@ spec: mountPath: /usr/src/app/store usb: enabled: true + type: hostPath hostPath: /dev/serial/by-id/usb-0658_0200-if00 - mountPath: /dev/serial/by-id/usb-0658_0200-if00 + hostPathType: CharDevice affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: