meshtastic bridge no longer needs serial

This commit is contained in:
Finn 2024-10-18 17:05:53 -07:00
parent acd7c766b5
commit 729542fa95
2 changed files with 3 additions and 12 deletions

View file

@ -19,7 +19,7 @@ spec:
effect: NoSchedule effect: NoSchedule
containers: containers:
- name: matrix-meshtastic-bridge - 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: securityContext:
privileged: true privileged: true
env: env:
@ -30,29 +30,20 @@ spec:
envFrom: envFrom:
- secretRef: - secretRef:
name: matrix-meshtastic-bridge name: matrix-meshtastic-bridge
resources:
limits:
janky.solutions/meshtastic: "1"
volumeMounts: volumeMounts:
- name: config - name: config
mountPath: /config mountPath: /config
- name: ttyacm0
mountPath: /dev/ttyUSB0
- name: data - name: data
mountPath: /data mountPath: /data
volumes: volumes:
- name: config - name: config
configMap: configMap:
name: matrix-meshtastic-bridge name: matrix-meshtastic-bridge
- name: ttyacm0
hostPath:
type: CharDevice
path: /dev/ttyUSB0
volumeClaimTemplates: volumeClaimTemplates:
- metadata: - metadata:
name: data name: data
spec: spec:
storageClassName: local-path storageClassName: longhorn
accessModes: ["ReadWriteOnce"] accessModes: ["ReadWriteOnce"]
resources: resources:
requests: requests:

View file

@ -6,7 +6,7 @@
"state": "/data/matrix.db" "state": "/data/matrix.db"
}, },
"meshtastic": { "meshtastic": {
"device": "/dev/ttyUSB0" "address": "10.5.0.214:80"
}, },
"db": "sqlite:///data/bridge.db" "db": "sqlite:///data/bridge.db"
} }