2024-10-15 07:07:17 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: StatefulSet
|
|
|
|
metadata:
|
2024-10-21 04:59:22 +00:00
|
|
|
name: matrix-bridge-meshtastic
|
2024-10-15 07:07:17 +00:00
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
2024-10-21 04:59:22 +00:00
|
|
|
app: matrix-bridge-meshtastic
|
|
|
|
serviceName: matrix-bridge-meshtastic
|
2024-10-15 07:07:17 +00:00
|
|
|
replicas: 1
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
2024-10-21 04:59:22 +00:00
|
|
|
app: matrix-bridge-meshtastic
|
2024-10-15 07:07:17 +00:00
|
|
|
spec:
|
|
|
|
containers:
|
2024-10-21 04:59:22 +00:00
|
|
|
- name: matrix-bridge-meshtastic
|
|
|
|
image: git.janky.solutions/finn/matrix-bridge-meshtastic:sha-fae2a30
|
2024-10-15 07:07:17 +00:00
|
|
|
securityContext:
|
|
|
|
privileged: true
|
|
|
|
env:
|
2024-10-21 04:59:22 +00:00
|
|
|
- name: MATRIX_BRIDGE_MESHTASTIC_CONFIG
|
2024-10-15 07:07:17 +00:00
|
|
|
value: /config/config.json
|
2024-10-17 18:26:07 +00:00
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
2024-10-21 04:59:22 +00:00
|
|
|
name: matrix-bridge-meshtastic
|
2024-10-15 07:07:17 +00:00
|
|
|
volumeMounts:
|
|
|
|
- name: config
|
|
|
|
mountPath: /config
|
|
|
|
- name: data
|
|
|
|
mountPath: /data
|
|
|
|
volumes:
|
|
|
|
- name: config
|
2024-10-17 18:26:07 +00:00
|
|
|
configMap:
|
2024-10-21 04:59:22 +00:00
|
|
|
name: matrix-bridge-meshtastic
|
2024-10-15 07:07:17 +00:00
|
|
|
volumeClaimTemplates:
|
|
|
|
- metadata:
|
|
|
|
name: data
|
|
|
|
spec:
|
2024-10-19 00:05:53 +00:00
|
|
|
storageClassName: longhorn
|
2024-10-15 07:07:17 +00:00
|
|
|
accessModes: ["ReadWriteOnce"]
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
storage: 1Gi
|