From cd9900b37b160a1409de48ae7e8f610e76c57bc6 Mon Sep 17 00:00:00 2001 From: Nicolas Bonneval Date: Tue, 1 Dec 2020 17:59:01 +0100 Subject: [PATCH] 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. --- charts/matrix-synapse/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/matrix-synapse/templates/deployment.yaml b/charts/matrix-synapse/templates/deployment.yaml index 0480ea1..8101888 100644 --- a/charts/matrix-synapse/templates/deployment.yaml +++ b/charts/matrix-synapse/templates/deployment.yaml @@ -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 }}