matrix-synapse: Ensure there's a valid /tmp dir

This commit is contained in:
Alexander "Ace" Olofsson 2023-02-20 13:56:05 +01:00
parent 5dddf3f5f8
commit fdafb5256e
No known key found for this signature in database
GPG key ID: D439C9470CB04C73

View file

@ -143,6 +143,8 @@ spec:
mountPath: /synapse/keys mountPath: /synapse/keys
- name: media - name: media
mountPath: /synapse/data mountPath: /synapse/data
- name: tmpdir
mountPath: /tmp
{{- with .Values.synapse.extraVolumeMounts }} {{- with .Values.synapse.extraVolumeMounts }}
{{- . | toYaml | nindent 12 }} {{- . | toYaml | nindent 12 }}
{{- end }} {{- end }}
@ -167,6 +169,8 @@ spec:
path: signing.key path: signing.key
- name: tmpconf - name: tmpconf
emptyDir: {} emptyDir: {}
- name: tmpdir
emptyDir: {}
- name: media - name: media
{{- $mediaworker := false }} {{- $mediaworker := false }}
{{- range $worker, $config := .Values.workers }} {{- range $worker, $config := .Values.workers }}