Skip to content

Commit 2cd7bf2

Browse files
committed
move values to charts
1 parent d0f83b3 commit 2cd7bf2

File tree

2 files changed

+366
-1
lines changed

2 files changed

+366
-1
lines changed

charts/synapse/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
22
name: synapse
3-
version: 0.0.2
3+
version: 0.0.3

charts/synapse/values.yaml

Lines changed: 365 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,365 @@
1+
---
2+
synapse:
3+
serverName: NOT-CONFIGURED
4+
image:
5+
# TODO: use ghcr.io
6+
repository: "matrixdotorg/synapse"
7+
tag: "v1.103.0"
8+
pullPolicy: IfNotPresent
9+
autoscaling:
10+
enabled: true
11+
# this workers can scale in runtime
12+
autoscalingWorkers:
13+
federation_sender: 2
14+
client_reader: 3
15+
event_creator: 2
16+
media_repository: 2
17+
# this workers will scale after deploy
18+
deployScalingWorkers:
19+
event_persister: 2
20+
pusher: 1
21+
presence: true
22+
postgres:
23+
cp_max: 10
24+
cp_min: 5
25+
host: "NOT-CONFIGURED4"
26+
dbname: "synapse"
27+
user: "synapse"
28+
password: "NOT-CONFIGURED"
29+
pgbouncer:
30+
image:
31+
repository: "bitnami/pgbouncer"
32+
tag: "1.21.0-debian-11-r5"
33+
pullPolicy: IfNotPresent
34+
replicas: 1
35+
authType: "md5"
36+
maxClientConn: "8192"
37+
poolSize: "20"
38+
poolMode: "transaction"
39+
resources:
40+
requests:
41+
memory: 128m
42+
cpu: 0.1
43+
nodeSelector: {}
44+
tolerations: []
45+
affinity: {}
46+
47+
rc_message:
48+
per_second: 100
49+
burst_count: 300
50+
51+
federation_domain_whitelist: []
52+
53+
federation_metrics_domains: []
54+
55+
password_enabled: false
56+
password_providers: []
57+
58+
oidc_providers: []
59+
60+
idp_metadata: []
61+
62+
registration_shared_secret: NOT-CONFIGURED
63+
64+
media_storage_providers: {}
65+
66+
experimentalFeatures:
67+
msc3967:
68+
enabled: true
69+
msc3861:
70+
enabled: true
71+
issuer: NOT-CONFIGURED
72+
client_id: NOT-CONFIGURED
73+
client_auth_method: client_secret_basic
74+
client_secret: NOT-CONFIGURED
75+
admin_token: NOT-CONFIGURED
76+
account_management_url: NOT-CONFIGURED
77+
78+
ingress:
79+
masterRoutes:
80+
- "/_matrix/"
81+
- "/_synapse/"
82+
federationSenderRoutes:
83+
# Federation requests
84+
- "/_matrix/federation/v1/event/" # https://matrix-org.github.io/synapse/latest/workers.html#synapseappgeneric_worker
85+
- "/_matrix/federation/v1/state/"
86+
- "/_matrix/federation/v1/state_ids/"
87+
- "/_matrix/federation/v1/backfill/"
88+
- "/_matrix/federation/v1/get_missing_events/"
89+
- "/_matrix/federation/v1/publicRooms"
90+
- "/_matrix/federation/v1/query/"
91+
- "/_matrix/federation/v1/make_join/"
92+
- "/_matrix/federation/v1/make_leave/"
93+
- "/_matrix/federation/(v1|v2)/send_join/"
94+
- "/_matrix/federation/(v1|v2)/send_leave/"
95+
- "/_matrix/federation/(v1|v2)/invite/"
96+
- "/_matrix/federation/v1/event_auth/"
97+
- "/_matrix/federation/v1/timestamp_to_event/"
98+
- "/_matrix/federation/v1/exchange_third_party_invite/"
99+
- "/_matrix/federation/v1/user/devices/"
100+
- "/_matrix/key/v2/query"
101+
- "/_matrix/federation/v1/hierarchy/"
102+
# Inbound federation transaction request
103+
- "/_matrix/federation/v1/send/"
104+
accountData:
105+
# Account data requests
106+
- "/_matrix/client/(r0|v3|unstable)/.*/tags" # https://matrix-org.github.io/synapse/latest/workers.html#synapseappgeneric_worker
107+
- "/_matrix/client/(r0|v3|unstable)/.*/account_data"
108+
presence:
109+
# Presence requests
110+
- "/_matrix/client/(api/v1|r0|v3|unstable)/presence/" # https://matrix-org.github.io/synapse/latest/workers.html#the-presence-stream
111+
mediaRepository:
112+
- "/_matrix/media/" # https://matrix-org.github.io/synapse/latest/workers.html#synapseappmedia_repository
113+
- "/_synapse/admin/v1/purge_media_cache$"
114+
- "/_synapse/admin/v1/room/.*/media.*$"
115+
- "/_synapse/admin/v1/user/.*/media.*$"
116+
- "/_synapse/admin/v1/media/.*$"
117+
- "/_synapse/admin/v1/quarantine_media/.*$"
118+
- "/_synapse/admin/v1/users/.*/media$"
119+
toDevice:
120+
- "/_matrix/client/(r0|v3|unstable)/sendToDevice/" # https://matrix-org.github.io/synapse/latest/workers.html#the-to_device-stream
121+
typing:
122+
- "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/typing" # https://matrix-org.github.io/synapse/latest/workers.html#the-typing-stream
123+
receipts:
124+
# Receipts requests
125+
- "/_matrix/client/(r0|v3|unstable)/rooms/.*/receipt" # https://matrix-org.github.io/synapse/latest/workers.html#the-receipts-stream
126+
- "/_matrix/client/(r0|v3|unstable)/rooms/.*/read_markers"
127+
keys:
128+
# Encryption requests
129+
- "/_matrix/client/(r0|v3|unstable)/keys/query$" # https://matrix-org.github.io/synapse/latest/workers.html#synapseappgeneric_worker
130+
- "/_matrix/client/(r0|v3|unstable)/keys/changes$"
131+
- "/_matrix/client/(r0|v3|unstable)/keys/claim$"
132+
- "/_matrix/client/(r0|v3|unstable)/room_keys/"
133+
- "/_matrix/client/(r0|v3|unstable)/keys/upload/"
134+
eventCreator:
135+
# Event sending requests
136+
- "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/redact" # https://matrix-org.github.io/synapse/latest/workers.html#synapseappgeneric_worker
137+
- "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/send"
138+
- "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/state/"
139+
- "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/(join|invite|leave|ban|unban|kick)$"
140+
- "/_matrix/client/(api/v1|r0|v3|unstable)/join/"
141+
- "/_matrix/client/(api/v1|r0|v3|unstable)/knock/"
142+
- "/_matrix/client/(api/v1|r0|v3|unstable)/profile/"
143+
matrixAuthentication:
144+
- "/_matrix/client/(.*)/(login|logout|refresh)"
145+
clientReaderStickyRoutes:
146+
# Sync requests
147+
- "/_matrix/client/(r0|v3)/sync$"
148+
- "/_matrix/client/(api/v1|r0|v3)/events$"
149+
- "/_matrix/client/(api/v1|r0|v3)/initialSync$"
150+
- "/_matrix/client/(api/v1|r0|v3)/rooms/[^/]+/initialSync$"
151+
# Pagination
152+
- "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/messages$"
153+
clientReaderRoutes:
154+
# Client API requests
155+
- "/_matrix/client/(api/v1|r0|v3|unstable)/createRoom$" # https://matrix-org.github.io/synapse/latest/workers.html#synapseappgeneric_worker
156+
- "/_matrix/client/(api/v1|r0|v3|unstable)/publicRooms$"
157+
- "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/joined_members$"
158+
- "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/context/.*$"
159+
- "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/members$"
160+
- "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/state$"
161+
- "/_matrix/client/v1/rooms/.*/hierarchy$"
162+
- "/_matrix/client/(v1|unstable)/rooms/.*/relations/"
163+
- "/_matrix/client/v1/rooms/.*/threads$"
164+
- "/_matrix/client/unstable/im.nheko.summary/rooms/.*/summary$"
165+
- "/_matrix/client/(r0|v3|unstable)/account/3pid$"
166+
- "/_matrix/client/(r0|v3|unstable)/account/whoami$"
167+
- "/_matrix/client/(r0|v3|unstable)/devices$"
168+
- "/_matrix/client/versions$"
169+
- "/_matrix/client/(api/v1|r0|v3|unstable)/voip/turnServer$"
170+
- "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/event/"
171+
- "/_matrix/client/(api/v1|r0|v3|unstable)/joined_rooms$"
172+
- "/_matrix/client/v1/rooms/.*/timestamp_to_event$"
173+
- "/_matrix/client/(api/v1|r0|v3|unstable/.*)/rooms/.*/aliases"
174+
- "/_matrix/client/(api/v1|r0|v3|unstable)/search$"
175+
- "/_matrix/client/(r0|v3|unstable)/user/.*/filter(/|$)"
176+
- "/_matrix/client/(api/v1|r0|v3|unstable)/directory/room/.*$"
177+
- "/_matrix/client/(r0|v3|unstable)/capabilities$"
178+
- "/_matrix/client/(r0|v3|unstable)/notifications$"
179+
# Registration/login requests
180+
#- "/_matrix/client/(api/v1|r0|v3|unstable)/login$"
181+
#- "/_matrix/client/(r0|v3|unstable)/register$"
182+
#- "/_matrix/client/(r0|v3|unstable)/register/available$"
183+
#- "/_matrix/client/v1/register/m.login.registration_token/validity$"
184+
#- "/_matrix/client/(r0|v3|unstable)/password_policy$"
185+
# User directory search requests
186+
- "/_matrix/client/(api/v1|r0|v3|unstable)/user_directory/search$"
187+
188+
admin:
189+
serverName: NOT-CONFIGURED
190+
image:
191+
repository: "awesometechnologies/synapse-admin"
192+
tag: "0.9.2"
193+
pullPolicy: IfNotPresent
194+
replicas: 1
195+
resources: {}
196+
nodeSelector: {}
197+
tolerations: []
198+
affinity: {}
199+
200+
slidingSyncProxy:
201+
enabled: true
202+
replicaCount: 1
203+
podAnnotations: {}
204+
resources: {}
205+
# limits:
206+
# cpu: 100m
207+
# memory: 64Mi
208+
# requests:
209+
# cpu: 100m
210+
# memory: 64Mi
211+
nodeSelector: {}
212+
tolerations: []
213+
affinity: {}
214+
image:
215+
repository: ghcr.io/matrix-org/sliding-sync
216+
tag: v0.99.15
217+
service:
218+
type: ClusterIP
219+
port: 80
220+
autoscaling:
221+
enabled: false
222+
minReplicas: 1
223+
maxReplicas: 10
224+
targetCPUUtilizationPercentage: 80
225+
targetMemoryUtilizationPercentage: false
226+
ingress:
227+
enabled: true
228+
host: NOT-CONFIGURED
229+
env:
230+
SYNCV3_DB: NOT-CONFIGURED
231+
SYNCV3_SERVER: NOT-CONFIGURED
232+
SYNCV3_SECRET: NOT-CONFIGURED
233+
234+
envoyProxy:
235+
enabled: true
236+
service:
237+
type: ClusterIP
238+
port: 80
239+
replicaCount: 1
240+
image:
241+
repository: envoyproxy/envoy
242+
tag: v1.27.4
243+
pullPolicy: IfNotPresent
244+
resources: {}
245+
# limits:
246+
# cpu: 100m
247+
# memory: 64Mi
248+
# requests:
249+
# cpu: 100m
250+
# memory: 64Mi
251+
podAnnotations: {}
252+
nodeSelector: {}
253+
tolerations: []
254+
affinity: {}
255+
256+
matrixAuthentication:
257+
enabled: true
258+
service:
259+
type: ClusterIP
260+
port: 80
261+
replicaCount: 1
262+
image:
263+
repository: ghcr.io/matrix-org/matrix-authentication-service
264+
tag: 0.9.0
265+
pullPolicy: IfNotPresent
266+
resources: {}
267+
# limits:
268+
# cpu: 100m
269+
# memory: 64Mi
270+
# requests:
271+
# cpu: 100m
272+
# memory: 64Mi
273+
podAnnotations: {}
274+
nodeSelector: {}
275+
tolerations: []
276+
affinity: {}
277+
autoscaling:
278+
enabled: false
279+
minReplicas: 1
280+
maxReplicas: 10
281+
targetCPUUtilizationPercentage: 80
282+
targetMemoryUtilizationPercentage: false
283+
ingress:
284+
enabled: true
285+
host: NOT-CONFIGURED
286+
config:
287+
clients: []
288+
database:
289+
host: NOT-CONFIGURED
290+
port: 5432
291+
username: mas_user
292+
password: NOT-CONFIGURED
293+
database: mas
294+
max_connections: 10
295+
min_connections: 0
296+
connect_timeout: 30
297+
idle_timeout: 600
298+
max_lifetime: 1800
299+
secrets:
300+
encryption: NOT-CONFIGURED
301+
keys: []
302+
#secrets: {}
303+
# encryption: 64key
304+
# keys:
305+
# - kid: qWE4rT6YUI
306+
# key: |
307+
# -----BEGIN RSA PRIVATE KEY-----
308+
# -----END RSA PRIVATE KEY-----
309+
passwords:
310+
enabled: false
311+
schemes:
312+
- version: 1
313+
algorithm: argon2id
314+
upstream_oauth2:
315+
# google:
316+
# - id: NOT-CONFIGURED
317+
# client_id: "NOT-CONFIGURED"
318+
# client_secret: "NOT-CONFIGURED"
319+
providers: []
320+
configYaml: |
321+
telemetry:
322+
tracing:
323+
exporter: none
324+
propagators: []
325+
metrics:
326+
exporter: prometheus
327+
sentry:
328+
dsn: null
329+
templates:
330+
path: /usr/local/share/mas-cli/templates/
331+
assets_manifest: /usr/local/share/mas-cli/manifest.json
332+
translations_path: /usr/local/share/mas-cli/translations/
333+
email:
334+
from: '"Authentication Service" <root@localhost>'
335+
reply_to: '"Authentication Service" <root@localhost>'
336+
transport: blackhole
337+
policy:
338+
wasm_module: /usr/local/share/mas-cli/policy.wasm
339+
client_registration_entrypoint: client_registration/violation
340+
register_entrypoint: register/violation
341+
authorization_grant_entrypoint: authorization_grant/violation
342+
password_entrypoint: password/violation
343+
email_entrypoint: email/violation
344+
data: null
345+
branding:
346+
service_name: null
347+
policy_uri: null
348+
tos_uri: null
349+
imprint: null
350+
logo_uri: null
351+
experimental:
352+
access_token_ttl: 300
353+
compat_token_ttl: 300
354+
355+
form_secret: "NOT-CONFIGURED"
356+
357+
macaroon_secret_key: "NOT-CONFIGURED"
358+
359+
turn_uris: []
360+
# - "turn:turn.test.com?transport=udp"
361+
# - "turn:turn.test.com?transport=tcp"
362+
363+
signing_key: NOT-CONFIGURED
364+
365+
root_redirect_url: NOT-CONFIGURED

0 commit comments

Comments
 (0)