Media worker name mismatch

The 'eq' statement must test against the exact key name from the values
file, so with an undescore (_) instead of dash (-).
Causes synapse to (try to and fail) mount the same PVC as the media
worker.
This commit is contained in:
Nicolas Bonneval 2020-12-01 17:59:01 +01:00 committed by Nicolas Bonneval
parent 54e3a205f9
commit cd9900b37b

View file

@ -159,7 +159,7 @@ spec:
- name: media
{{- $mediaworker := false }}
{{- range $worker, $config := .Values.workers }}
{{- if eq $worker "media-repository" }}
{{- if eq $worker "media_repository" }}
{{- $mediaworker = true }}
{{- end }}
{{- end }}