From 7d712af2a4e9d5c1587e6da418df22bfe5a0357c Mon Sep 17 00:00:00 2001 From: Alexander Olofsson Date: Tue, 30 Nov 2021 15:46:13 +0100 Subject: [PATCH] matrix-synapse: Include v3 paths in default values --- charts/matrix-synapse/values.yaml | 65 ++++++++++++++++--------------- 1 file changed, 34 insertions(+), 31 deletions(-) diff --git a/charts/matrix-synapse/values.yaml b/charts/matrix-synapse/values.yaml index 8c90d6e..6657303 100644 --- a/charts/matrix-synapse/values.yaml +++ b/charts/matrix-synapse/values.yaml @@ -374,31 +374,34 @@ workers: generic: true listeners: [client, federation] csPaths: - # - "/_matrix/client/(v2_alpha|r0)/sync" - - "/_matrix/client/(api/v1|v2_alpha|r0)/events" - # - "/_matrix/client/(api/v1|r0)/initialSync" - # - "/_matrix/client/(api/v1|r0)/rooms/[^/]+/initialSync" - - "/_matrix/client/(api/v1|r0|unstable)/publicRooms" - - "/_matrix/client/(api/v1|r0|unstable)/rooms/.*/joined_members" - - "/_matrix/client/(api/v1|r0|unstable)/rooms/.*/context/.*" - - "/_matrix/client/(api/v1|r0|unstable)/rooms/.*/members" - - "/_matrix/client/(api/v1|r0|unstable)/rooms/.*/state" - - "/_matrix/client/(api/v1|r0|unstable)/account/3pid" - - "/_matrix/client/(api/v1|r0|unstable)/keys/query" - - "/_matrix/client/(api/v1|r0|unstable)/keys/changes" + # - "/_matrix/client/(v2_alpha|r0|v3)/sync" + - "/_matrix/client/(api/v1|v2_alpha|r0|v3)/events" + # - "/_matrix/client/(api/v1|r0|v3)/initialSync" + # - "/_matrix/client/(api/v1|r0|v3)/rooms/[^/]+/initialSync" + - "/_matrix/client/(api/v1|r0|v3|unstable)/publicRooms" + - "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/joined_members" + - "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/context/.*" + - "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/members" + - "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/state" + - "/_matrix/client/unstable/org.matrix.msc2946/rooms/.*/spaces" + - "/_matrix/client/unstable/org.matrix.msc2946/rooms/.*/hierarchy" + - "/_matrix/client/unstable/im.nheko.summary/rooms/.*/summary" + - "/_matrix/client/(api/v1|r0|v3|unstable)/account/3pid" + - "/_matrix/client/(api/v1|r0|v3|unstable)/keys/query" + - "/_matrix/client/(api/v1|r0|v3|unstable)/keys/changes" - "/_matrix/client/versions" - - "/_matrix/client/(api/v1|r0|unstable)/voip/turnServer" - - "/_matrix/client/(api/v1|r0|unstable)/joined_groups" - - "/_matrix/client/(api/v1|r0|unstable)/publicised_groups" - - "/_matrix/client/(api/v1|r0|unstable)/publicised_groups/" - - "/_matrix/client/(api/v1|r0|unstable)/login" - - "/_matrix/client/(r0|unstable)/register" - - "/_matrix/client/(r0|unstable)/auth/.*/fallback/web" - - "/_matrix/client/(api/v1|r0|unstable)/rooms/.*/send" - - "/_matrix/client/(api/v1|r0|unstable)/rooms/.*/state/" - - "/_matrix/client/(api/v1|r0|unstable)/rooms/.*/(join|invite|leave|ban|unban|kick)" - - "/_matrix/client/(api/v1|r0|unstable)/join/" - - "/_matrix/client/(api/v1|r0|unstable)/profile/" + - "/_matrix/client/(api/v1|r0|v3|unstable)/voip/turnServer" + - "/_matrix/client/(api/v1|r0|v3|unstable)/joined_groups" + - "/_matrix/client/(api/v1|r0|v3|unstable)/publicised_groups" + - "/_matrix/client/(api/v1|r0|v3|unstable)/publicised_groups/" + - "/_matrix/client/(api/v1|r0|v3|unstable)/login" + - "/_matrix/client/(r0|v3|unstable)/register" + - "/_matrix/client/(r0|v3|unstable)/auth/.*/fallback/web" + - "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/send" + - "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/state/" + - "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/(join|invite|leave|ban|unban|kick)" + - "/_matrix/client/(api/v1|r0|v3|unstable)/join/" + - "/_matrix/client/(api/v1|r0|v3|unstable)/profile/" paths: - "/_matrix/federation/v1/event/" - "/_matrix/federation/v1/state/" @@ -443,10 +446,10 @@ workers: # generic: true # listeners: [client] # csPaths: - # - "/_matrix/client/(v2_alpha|r0)/sync" - # - "/_matrix/client/(api/v1|v2_alpha|r0)/events" - # - "/_matrix/client/(api/v1|r0)/initialSync" - # - "/_matrix/client/(api/v1|r0)/rooms/[^/]+/initialSync" + # - "/_matrix/client/(v2_alpha|r0|v3)/sync" + # - "/_matrix/client/(api/v1|v2_alpha|r0|v3)/events" + # - "/_matrix/client/(api/v1|r0|v3)/initialSync" + # - "/_matrix/client/(api/v1|r0|v3)/rooms/[^/]+/initialSync" ## This worker deals with pushing notifications. ## NB; Only one instance of this worker can be run at a time, refer to the @@ -489,7 +492,7 @@ workers: enabled: false listeners: [client] csPaths: - - "/_matrix/client/(api/v1|r0|unstable)/user_directory/search" + - "/_matrix/client/(api/v1|r0|v3|unstable)/user_directory/search" ## This worker handles key uploads, and may also stub out presence if that is ## disabled. If you set extraConfig.use_presence=false then you may want to @@ -499,8 +502,8 @@ workers: enabled: false listeners: [client] csPaths: - - "/_matrix/client/(api/v1|r0|unstable)/keys/upload" - # - "/_matrix/client/(api/v1|r0|unstable)/presence/[^/]+/status" + - "/_matrix/client/(api/v1|r0|v3|unstable)/keys/upload" + # - "/_matrix/client/(api/v1|r0|v3|unstable)/presence/[^/]+/status" ## This will set up a Lighttpd server to respond to any ## /.well-known/matrix/server requests, to make federation possible without