apiVersion: apps/v1 kind: StatefulSet metadata: name: matrix-bridge-meshtastic spec: selector: matchLabels: app: matrix-bridge-meshtastic serviceName: matrix-bridge-meshtastic replicas: 1 template: metadata: labels: app: matrix-bridge-meshtastic spec: containers: - name: matrix-bridge-meshtastic image: git.janky.solutions/finn/matrix-bridge-meshtastic:sha-fae2a30 securityContext: privileged: true env: - name: MATRIX_BRIDGE_MESHTASTIC_CONFIG value: /config/config.json envFrom: - secretRef: name: matrix-bridge-meshtastic volumeMounts: - name: config mountPath: /config - name: data mountPath: /data volumes: - name: config configMap: name: matrix-bridge-meshtastic volumeClaimTemplates: - metadata: name: data spec: storageClassName: longhorn accessModes: ["ReadWriteOnce"] resources: requests: storage: 1Gi