From 729542fa9566b7c4b6c3d88612ad3ce006efc19c Mon Sep 17 00:00:00 2001 From: Finn Date: Fri, 18 Oct 2024 17:05:53 -0700 Subject: [PATCH] meshtastic bridge no longer needs serial --- k8s/meshtastic/matrix-meshtastic-bridge.yaml | 13 ++----------- k8s/meshtastic/matrix-meshtastic-bridge/config.json | 2 +- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/k8s/meshtastic/matrix-meshtastic-bridge.yaml b/k8s/meshtastic/matrix-meshtastic-bridge.yaml index f19d103..7aa8d57 100644 --- a/k8s/meshtastic/matrix-meshtastic-bridge.yaml +++ b/k8s/meshtastic/matrix-meshtastic-bridge.yaml @@ -19,7 +19,7 @@ spec: effect: NoSchedule containers: - name: matrix-meshtastic-bridge - image: git.janky.solutions/finn/matrix-meshtastic-bridge:sha-871020c + image: git.janky.solutions/finn/matrix-meshtastic-bridge:sha-4f5b878 securityContext: privileged: true env: @@ -30,29 +30,20 @@ spec: envFrom: - secretRef: name: matrix-meshtastic-bridge - resources: - limits: - janky.solutions/meshtastic: "1" volumeMounts: - name: config mountPath: /config - - name: ttyacm0 - mountPath: /dev/ttyUSB0 - name: data mountPath: /data volumes: - name: config configMap: name: matrix-meshtastic-bridge - - name: ttyacm0 - hostPath: - type: CharDevice - path: /dev/ttyUSB0 volumeClaimTemplates: - metadata: name: data spec: - storageClassName: local-path + storageClassName: longhorn accessModes: ["ReadWriteOnce"] resources: requests: diff --git a/k8s/meshtastic/matrix-meshtastic-bridge/config.json b/k8s/meshtastic/matrix-meshtastic-bridge/config.json index 5eb97cb..6bcf927 100644 --- a/k8s/meshtastic/matrix-meshtastic-bridge/config.json +++ b/k8s/meshtastic/matrix-meshtastic-bridge/config.json @@ -6,7 +6,7 @@ "state": "/data/matrix.db" }, "meshtastic": { - "device": "/dev/ttyUSB0" + "address": "10.5.0.214:80" }, "db": "sqlite:///data/bridge.db" }