File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22apiVersion : v2
33name : synapse
44description : matrix synapse kubernetes deployment
5- version : 2.0.4
5+ version : 2.0.5
66appVersion : 1.149.1
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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 :
You can’t perform that action at this time.
0 commit comments