meshtastic bridge no longer needs serial
This commit is contained in:
parent
acd7c766b5
commit
729542fa95
2 changed files with 3 additions and 12 deletions
|
@ -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:
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"state": "/data/matrix.db"
|
||||
},
|
||||
"meshtastic": {
|
||||
"device": "/dev/ttyUSB0"
|
||||
"address": "10.5.0.214:80"
|
||||
},
|
||||
"db": "sqlite:///data/bridge.db"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue