From fdafb5256ecbfb8345de26367d156e3743aa62fc Mon Sep 17 00:00:00 2001 From: "Alexander \"Ace\" Olofsson" Date: Mon, 20 Feb 2023 13:56:05 +0100 Subject: [PATCH] matrix-synapse: Ensure there's a valid /tmp dir --- charts/matrix-synapse/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/matrix-synapse/templates/deployment.yaml b/charts/matrix-synapse/templates/deployment.yaml index 6fef133..ba46158 100644 --- a/charts/matrix-synapse/templates/deployment.yaml +++ b/charts/matrix-synapse/templates/deployment.yaml @@ -143,6 +143,8 @@ spec: mountPath: /synapse/keys - name: media mountPath: /synapse/data + - name: tmpdir + mountPath: /tmp {{- with .Values.synapse.extraVolumeMounts }} {{- . | toYaml | nindent 12 }} {{- end }} @@ -167,6 +169,8 @@ spec: path: signing.key - name: tmpconf emptyDir: {} + - name: tmpdir + emptyDir: {} - name: media {{- $mediaworker := false }} {{- range $worker, $config := .Values.workers }}