Increase matrix user media PV (in-progres)

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
2023-04-13 18:10:14 +01:00
parent 2e13637388
commit 2d5902ac7f
2 changed files with 70 additions and 12 deletions

View File

@@ -457,6 +457,21 @@ spec:
- name: signing-key
mountPath: /data/keys
containers:
- name: copy-media
image: "bash"
imagePullPolicy: IfNotPresent
command:
- bash
- -c
- |
cp -R /data/old /data/new
echo "Done"
sleep 9999
volumeMounts:
- name: media-store
mountPath: /data/old
- name: user-media
mountPath: /data/new
- name: "synapse"
image: "matrixdotorg/synapse:v1.71.0"
imagePullPolicy: IfNotPresent
@@ -474,12 +489,12 @@ spec:
- name: mautrix-whatsapp-registration
mountPath: /data/mautrix-whatsapp-registration.yaml
subPath: registration.yaml
- name: mautrix-signal-registration
mountPath: /data/mautrix-signal-registration.yaml
subPath: registration.yaml
- name: mautrix-telegram-registration
mountPath: /data/mautrix-telegram-registration.yaml
subPath: registration.yaml
# - name: mautrix-signal-registration
# mountPath: /data/mautrix-signal-registration.yaml
# subPath: registration.yaml
# - name: mautrix-telegram-registration
# mountPath: /data/mautrix-telegram-registration.yaml
# subPath: registration.yaml
- name: synapse-config-logging
mountPath: /data/matrix.cluster.fun.log.config
subPath: matrix.cluster.fun.log.config
@@ -526,18 +541,21 @@ spec:
- name: mautrix-whatsapp-registration
secret:
secretName: mautrix-whatsapp-registration
- name: mautrix-signal-registration
secret:
secretName: mautrix-signal-registration
- name: mautrix-telegram-registration
secret:
secretName: mautrix-telegram-registration
# - name: mautrix-signal-registration
# secret:
# secretName: mautrix-signal-registration
# - name: mautrix-telegram-registration
# secret:
# secretName: mautrix-telegram-registration
- name: signing-key
persistentVolumeClaim:
claimName: chat-matrix-signing-key
- name: media-store
persistentVolumeClaim:
claimName: chat-matrix-media-store
- name: user-media
persistentVolumeClaim:
claimName: chat-matrix-user-media
- name: uploads
emptyDir: {}
- name: tmp