From 3a725ba39dbe2c3e47874629d2770101cef688be Mon Sep 17 00:00:00 2001 From: Ariel Sosnovsky Date: Thu, 19 Oct 2023 17:15:02 -0400 Subject: [PATCH] "{{ .Values.devicePath }}" --- k8s/apps/z2m/templates/ser2sock.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/apps/z2m/templates/ser2sock.yaml b/k8s/apps/z2m/templates/ser2sock.yaml index 5c42169..afaadde 100644 --- a/k8s/apps/z2m/templates/ser2sock.yaml +++ b/k8s/apps/z2m/templates/ser2sock.yaml @@ -32,7 +32,7 @@ spec: - name: ser2sock-config mountPath: /config - name: zigbee-usb - mountPath: /dev/ttyACM0 + mountPath: "{{ .Values.devicePath }}" volumes: - name: ser2sock-config configMap: @@ -51,7 +51,7 @@ metadata: data: ser2sock.conf: | [ser2sock] - device = /dev/ttyACM0 + device = "{{ .Values.devicePath }}" baudrate = 115200 port = 10000 ---