matrix-synapse: Handle disabled media worker

Fixes #8
This commit is contained in:
Alexander Olofsson 2021-06-24 23:25:50 +02:00
parent dcca547376
commit aafd204310
No known key found for this signature in database
GPG key ID: D439C9470CB04C73

View file

@ -160,7 +160,7 @@ spec:
{{- $mediaworker := false }}
{{- range $worker, $config := .Values.workers }}
{{- if eq $worker "media_repository" }}
{{- $mediaworker = true }}
{{- $mediaworker = ($config.enabled | default false) }}
{{- end }}
{{- end }}
{{- if and .Values.persistence.enabled (not $mediaworker) }}