Skip to content

Commit c74e5d5

Browse files
committed
fix
1 parent ef702c2 commit c74e5d5

File tree

3 files changed

+29
-3
lines changed

3 files changed

+29
-3
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.43.3
3+
version: 0.43.4

charts/synapse/templates/synapse-configmap.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ data:
5151
autocreate_auto_join_rooms: true
5252
autocreate_auto_join_rooms_federated: false
5353
block_non_admin_invites: false
54-
event_cache_size: "10K"
54+
event_cache_size: {{ $.Values.synapse.eventCacheSize }}
5555
database:
5656
txn_limit: {{ $.Values.synapse.postgres.txn_limit }}
5757
args:
@@ -230,7 +230,7 @@ data:
230230
host: {{ $.Values.synapse.redis.host | quote }}
231231
port: {{ $.Values.synapse.redis.port }}
232232
registration_shared_secret: "{{ $registration_shared_secret }}"
233-
report_stats: true
233+
report_stats: {{ $.Values.synapse.reportStats }}
234234
require_auth_for_profile_requests: true
235235
require_membership_for_aliases: true
236236
saml2_config: {{- $saml2_config | toYaml | nindent 6 }}

charts/synapse/values.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,30 @@ synapse:
196196
# secretKeyRef:
197197
# key: my-secret-key
198198
# name: my-secret
199+
pgbouncerExporter:
200+
enabled: false
201+
podMonitor: false
202+
host: 127.0.0.1
203+
port: 5432
204+
database: pgbouncer
205+
sslmode: disable
206+
connect_timeout: 10
207+
image:
208+
repository: prometheuscommunity/pgbouncer-exporter
209+
tag: v0.12.0
210+
pullPolicy: IfNotPresent
211+
log:
212+
# debug, info, warn, error
213+
level: info
214+
# logfmt or json
215+
format: json
216+
resources:
217+
limits:
218+
cpu: 250m
219+
memory: 150Mi
220+
requests:
221+
cpu: 30m
222+
memory: 40Mi
199223

200224
redis:
201225
enabled: true
@@ -219,6 +243,7 @@ synapse:
219243
interval: 12h
220244
- shortest_max_lifetime: 3d
221245
interval: 1d
246+
eventCacheSize: '10K'
222247
# https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#caches
223248
caches:
224249
globalFactor: 1.0
@@ -228,6 +253,7 @@ synapse:
228253
maxCacheMemoryUsage: '1024M'
229254
targetCacheMemoryUsage: '512M'
230255
minCacheTtl: '5m'
256+
reportStats: false
231257

232258
rc_message:
233259
per_second: 100

0 commit comments

Comments
 (0)