Skip to content

Commit 5480fd4

Browse files
committed
fix-lua
1 parent 4f59604 commit 5480fd4

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

charts/synapse/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
apiVersion: v2
33
name: synapse
44
description: matrix synapse kubernetes deployment
5-
version: 2.0.4
5+
version: 2.0.5
66
appVersion: 1.149.1

charts/synapse/scripts/envoy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,6 @@ static_resources:
327327
local synapse = require("lib.synapse")
328328
329329
function envoy_on_request(request_handle)
330-
local headers = request_handle:headers()
331330
local hash_key = synapse.get_user_identifier_from_request(request_handle, {
332331
whoami_cluster = "httpd-client-reader",
333332
whoami_path = "/_matrix/client/v3/account/whoami",
@@ -337,6 +336,7 @@ static_resources:
337336
logging_token_length = 8
338337
})
339338
339+
local headers = request_handle:headers()
340340
if hash_key ~= nil then
341341
headers:add("X-Hash-Key", hash_key)
342342
return

charts/synapse/templates/envoy-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ spec:
5353
mountPath: /config/envoy.yaml
5454
subPath: envoy.yaml
5555
- name: config
56-
mountPath: /usr/lib/synapse.lua
56+
mountPath: /usr/lib/lib/synapse.lua
5757
subPath: synapse.lua
5858
{{- if .Values.envoyProxy.nodeSelector }}
5959
nodeSelector:

0 commit comments

Comments
 (0)