-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmatrix_argocd_appset.yaml
779 lines (694 loc) · 32.7 KB
/
matrix_argocd_appset.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
---
# webapp is deployed 2nd because we need secrets and persistent volumes up 1st
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: matrix-web-app-set
namespace: argocd
spec:
goTemplate: true
# generator allows us to source specific values from an external k8s secret
generators:
- plugin:
configMapRef:
name: secret-var-plugin-generator
input:
parameters:
secret_vars:
- zitadel_hostname
- matrix_hostname
- matrix_auth_hostname
- matrix_element_hostname
- matrix_federation_hostname
- matrix_admin_email
- matrix_s3_bucket
- matrix_s3_region
- matrix_s3_endpoint
- global_cluster_issuer
template:
metadata:
name: matrix-web-app
annotations:
argocd.argoproj.io/sync-wave: "3"
spec:
project: matrix
destination:
server: https://kubernetes.default.svc
namespace: matrix
syncPolicy:
syncOptions:
- ApplyOutOfSyncOnly=true
automated:
prune: true
selfHeal: true
source:
repoURL: 'https://small-hack.github.io/matrix-chart'
targetRevision: 18.4.0
chart: matrix
helm:
valuesObject:
fullnameOverride: matrix-stack
# Runtime configuration for Synapse and settings related to the Matrix protocol
matrix:
# -- Domain name of the server
serverName: "{{ .matrix_hostname }}"
hostname: "{{ .matrix_hostname }}"
# -- Enable anonymous telemetry to matrix.org
telemetry: false
# -- Set to false to disable (online/offline indicators)
presence: true
# -- Set to true to block non-admins from inviting users to any rooms
blockNonAdminInvites: true
# -- Set to false to disable message searching
search: true
# Which types of rooms to enable end-to-end encryption on by default
# off: none
# all: all rooms
# invite: private msg/room created w/ private_chat or trusted_private_chat
# room presets
encryptByDefault: all
# -- Email address of the administrator
adminEmail: '{{ .matrix_admin_email }}'
# -- needed for sliding sync to work
# extra_well_known_client_content:
# "org.matrix.msc3575.proxy":
# "url": "https://{{ .matrix_sliding_sync_hostname }}"
# -- Settings related to image and multimedia uploads
uploads:
# -- Max upload size in bytes
maxSize: 10M
# -- Max image size in pixels
maxPixels: 32M
# Settings related to federation
federation:
enabled: true
client_timeout: 180s
max_short_retry_delay: 5s
max_long_retry_delay: 100s
max_short_retries: 3
max_long_retries: 10
destination_min_retry_interval: 30s
destination_retry_multiplier: 2
destination_max_retry_interval: 6h
ingress:
enabled: false
tls:
enabled: true
host: '{{ .matrix_federation_hostname }}'
annotations:
# -- required for the Nginx ingress provider. You can remove it if you
# use a different ingress provider
nginx.ingress.kubernetes.io/configuration-snippet: |
proxy_intercept_errors off;
# -- required for TLS certs issued by cert-manager
cert-manager.io/cluster-issuer: '{{ .global_cluster_issuer }}'
# -- Allow members of other homeservers to fetch *public* rooms
allow_public_rooms_over_federation: true
# -- If set to true, removes the need for authentication to access the server's public rooms directory through the client API, meaning that anyone can query the room directory
allow_public_rooms_without_auth: false
# -- Restrict federation to the given whitelist of domains. N.B. we recommend also firewalling your federation listener to limit inbound federation traffic as early as possible, rather than relying purely on this application-layer restriction. If not specified, the default is to whitelist everythingNote
# Note: this does not stop a server from joining rooms that servers not on the whitelist are in. As such, this option is really only useful to establish a "private federation", where a group of servers all whitelist each other and have the same whitelist.
federation_domain_whitelist: []
# -- This option prevents outgoing requests from being sent to the specified blacklisted IP address CIDR ranges. If this option is not specified then it defaults to private IP address ranges (see the example below). The blacklist applies to the outbound requests for federation, identity servers, push servers, and for checking key validity for third-party invite events.
# (0.0.0.0 and :: are always blacklisted, whether or not they are explicitly listed here, since they correspond to unroutable addresses.)
# This option replaces federation_ip_range_blacklist in Synapse v1.25.0.
# Note: The value is ignored when an HTTP proxy is in use.
ip_range_blacklist:
- '127.0.0.0/8'
- '10.0.0.0/8'
- '172.16.0.0/12'
- '192.168.0.0/16'
- '100.64.0.0/10'
- '192.0.0.0/24'
- '169.254.0.0/16'
- '192.88.99.0/24'
- '198.18.0.0/15'
- '192.0.2.0/24'
- '198.51.100.0/24'
- '203.0.113.0/24'
- '224.0.0.0/4'
- '::1/128'
- 'fe80::/10'
- 'fc00::/7'
- '2001:db8::/32'
- 'ff00::/8'
- 'fec0::/10'
password_config:
enabled: false
localdb_enabled: false
# User registration settings
registration:
# -- Allow new users to register an account.
# Cannot be enabled when when OAuth delegation is enabled
enabled: false
existingSecret: "matrix-registration"
secretKey: "registrationSharedSecret"
# -- Allow users to join rooms as a guest
allowGuests: false
# -- Rooms to automatically join all new users to
autoJoinRooms: []
# - "#welcome:{{ .matrix_hostname }}"
# -- Whether to allow token based registration
requiresToken: false
# ref: https://github.com/element-hq/synapse/blob/develop/docs/openid.md
oidc:
enabled: false
# Settings for the URL preview crawler
urlPreviews:
enabled: true
# Blacklists and whitelists for the URL preview crawler
rules:
# -- Max size of a crawlable page. Keep this low to prevent a DOS vector
maxSize: 10M
# Whitelist and blacklist for crawlable IP addresses
ip:
whitelist: []
blacklist:
- '127.0.0.0/8'
- '10.0.0.0/8'
- '172.16.0.0/12'
- '192.168.0.0/16'
- '100.64.0.0/10'
- '169.254.0.0/16'
- '::1/128'
- 'fe80::/64'
- 'fc00::/7'
# -- Whitelist and blacklist based on URL pattern matching
url: {}
# whitelist:
# blacklist:
# # blacklist any URL with a username in its URI
# - username: '*'
#
# # blacklist all *.google.com URLs
# - netloc: 'google.com'
# - netloc: '*.google.com'
#
# # blacklist all plain HTTP URLs
# - scheme: 'http'
#
# # blacklist http(s)://www.acme.com/foo
# - netloc: 'www.acme.com'
# path: '/foo'
#
# # blacklist any URL with a literal IPv4 address
# - netloc: '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$'
# -- How long to keep redacted events in unredacted form in the database
retentionPeriod: 7d
security:
# This disables the warning that is emitted when the
# trustedKeyServers include 'matrix.org'. See below.
# Set to false to re-enable the warning.
surpressKeyServerWarning: true
# The trusted servers to download signing keys from.
#
# When we need to fetch a signing key, each server is tried in parallel.
#
# Normally, the connection to the key server is validated via TLS certs.
# Additional security can be provided by configuring a `verify key`, which
# will make synapse check that the response is signed by that key.
#
# This setting supercedes an older setting named `perspectives`. Old format
# is still supported for backwards-compatibility, but it is deprecated.
#
# 'trustedKeyServers' defaults to matrix.org, but using it will generate a
# warning on start-up. To suppress this warning, set
# 'surpressKeyServerWarning' to true.
#
# Options for each entry in the list include:
#
# serverName: the name of the server. required.
#
# verifyKeys: an optional map from key id to base64-encoded public key.
# If specified, we will check that the response is signed by at least
# one of the given keys.
#
# acceptKeysInsecurely: a boolean. Normally, if `verify_keys` is unset,
# and federation_verify_certificates is not `true`, synapse will refuse
# to start, because this would allow anyone who can spoof DNS responses
# to masquerade as the trusted key server. If you know what you are doing
# and are sure that your network environment provides a secure connection
# to the key server, you can set this to `true` to override this
# behaviour.
#
# An example configuration might look like:
#
# trustedKeyServers:
# - serverName: 'my_trusted_server.{{ .matrix_hostname }}'
# verifyKeys:
# - id: "ed25519:auto"
# key: "abcdefghijklmnopqrstuvwxyzabcdefghijklmopqr"
# acceptKeysInsecurely: false
# - serverName: 'my_other_trusted_server.{{ .matrix_hostname }}'
# -- Set to true to globally block access to the homeserver
disabled: false
# -- Human readable reason for why the homeserver is blocked
disabledMessage: ""
logging:
# -- Root log level is the default log level for log outputs that don't
# have more specific settings.
rootLogLevel: DEBUG
# -- beware: increasing this to DEBUG will make synapse log sensitive
# information such as access tokens.
sqlLogLevel: WARNING
# -- The log level for the synapse server
synapseLogLevel: DEBUG
# -- use an existing secret for all msc3861 (matrix authentication service) related values
# if set, all other msc3861 values are ignored (issuer, client_id, client_auth_method, client_secret, admin_token, account_management_url)
msc3861ExistingSecret: "matrix-authentication-service"
# from mas config: public_base: "https://{{ .matrix_auth_hostname }}/"
msc3861SecretKeys:
# -- secret key to use in existing secret for msc3861 issuer
# -- Synapse will call `{issuer}/.well-known/openid-configuration` to get the OIDC configuration
issuer: "issuer"
# -- secret key to use in existing secret for msc3861 client id
# -- Matches the `client_id` in the auth service config
client_id: "client_id"
# -- secret key to use in existing secret for msc3861 client secret
# -- Matches the `client_secret` in the auth service config
client_secret: "client_secret"
# -- secret key to use in existing secret for msc3861 admin_token
# -- Matches the `matrix.secret` in the auth service config
admin_token: "token"
# -- secret key to use in existing secret for msc3861 account_management_url
# -- URL to advertise to clients where users can self-manage their account
account_management_url: ""
experimental_features:
# experimental_feature msc3861 - enable this if you want to use the matrix authentication service
msc3861:
enabled: true
# -- Matches the `client_auth_method` in the auth service config
client_auth_method: client_secret_basic
# -- URL to advertise to clients where users can self-manage their account
account_management_url: "https://{{ .matrix_auth_hostname }}/account"
# experimental_feature
msc3575:
enabled: true
s3:
# -- enable s3 storage via https://github.com/matrix-org/synapse-s3-storage-provider
enabled: true
endpoint: 'https://{{ .matrix_s3_endpoint }}'
bucket: '{{ .matrix_s3_bucket }}'
region: '{{ .matrix_s3_region }}'
existingSecret: "matrix-s3-credentials"
secretKeys:
accessKey: "S3_ACCESS_KEY"
secretKey: "S3_SECRET_KEY"
cronjob:
# -- enable a regular cleanup k8s cronjob to automatically backup everything
# to your s3 bucket for you and delete it from local disk ref:
# https://github.com/matrix-org/synapse-s3-storage-provider/tree/main#regular-cleanup-job
enabled: false
schedule: "0 0 * * *"
# -- this is the age of files you'd like to clean up, defaults files not used
# within two months (2m)
file_age: 2m
# Persistent volumes configuration
volumes:
media:
existingClaim: "matrix-media"
signingKey:
existingClaim: "matrix-signing-key"
synapseConfig:
existingClaim: "matrix-synapse-config"
externalDatabase:
enabled: true
sslmode: verify-full
sslrootcert: /etc/secrets/ca/ca.crt
sslcert: /etc/secrets/matrix/tls.crt
sslkey: /etc/secrets/matrix/tls.key
port: 5432
# -- Name of existing secret to use for PostgreSQL credentials
existingSecret: "matrix-pgsql-credentials"
# secretKeys to grab from existingSecret
secretKeys:
# -- key in existingSecret with hostname of the database
databaseHostname: hostname
# -- key in existingSecret with username for matrix to connect to db
databaseUsername: username
# -- key in existingSecret with password for matrix to connect to db
userPasswordKey: password
# -- key in existingSecret with the admin postgresql password
adminPasswordKey: password
# PostgreSQL Database configuration is disabled to use externalDatabase
postgresql:
enabled: false
# Synapse Kubernetes resource settings
synapse:
image:
pullPolicy: IfNotPresent
# -- service for synapse
service:
type: ClusterIP
port: 80
federation:
type: ClusterIP
port: 80
ingress:
# synapse ingress
enabled: true
annotations:
nginx.ingress.kubernetes.io/use-regex: "true"
nginx.ingress.kubernetes.io/proxy-body-size: 1G
# annotation is required for the Nginx ingress provider
nginx.ingress.kubernetes.io/configuration-snippet: |
proxy_intercept_errors off;
nginx.ingress.kubernetes.io/server-snippet: |-
location = /.well-known/matrix/server {
return 200 '{"m.server": "https://{{ .matrix_hostname }}"}';
default_type application/json;
add_header Access-Control-Allow-Origin *;
}
cert-manager.io/cluster-issuer: '{{ .global_cluster_issuer }}'
hosts:
- host: '{{ .matrix_hostname }}'
paths:
- path: "/_matrix/client/(r0|v3)/(refresh|login|logout).*"
pathType: ImplementationSpecific
backend:
service:
name: mas
port:
name: http
- path: /
pathType: Prefix
tls:
- secretName: matrix-tls
hosts:
- '{{ .matrix_hostname }}'
replicaCount: 1
resources: {}
# Configure timings for readiness, startup, and liveness probes here
probes:
readiness:
timeoutSeconds: 5
periodSeconds: 10
startup:
timeoutSeconds: 5
periodSeconds: 5
failureThreshold: 6
liveness:
timeoutSeconds: 5
periodSeconds: 10
securityContext:
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
runAsNonRoot: true
# -- Enable if your k8s environment allows containers to chuser/setuid
# https://github.com/matrix-org/synapse/blob/96cf81e312407f0caba1b45ba9899906b1dcc098/docker/start.py#L196
env: false
# -- Labels to be appended to all Synapse resources
labels:
component: synapse
# Prometheus metrics for Synapse
# https://github.com/matrix-org/synapse/blob/develop/docs/metrics-howto.md
metrics:
# -- Whether Synapse should capture metrics on an additional endpoint
enabled: true
# -- Port to listen on for metrics scraping
port: 9092
annotations: true
extraVolumes:
- name: postgres-ca
secret:
secretName: matrix-postgres-server-ca-key-pair
defaultMode: 0640
- name: postgres-client-certs
secret:
secretName: matrix-postgres-matrix-cert
defaultMode: 0640
extraVolumeMounts:
- name: postgres-ca
mountPath: /etc/secrets/ca
- name: postgres-client-certs
mountPath: /etc/secrets/matrix
extraEnv:
- name: PIP_CACHE_DIR
value: /tmp
mas:
enabled: true
fullnameOverride: "mas"
# ssl must be disabled till this is fixed:
# https://github.com/matrix-org/matrix-authentication-service/issues/2799
# extraVolumes:
# - name: postgres-ca
# secret:
# secretName: mas-postgres-server-ca-key-pair
# defaultMode: 0640
# - name: postgres-client-certs
# secret:
# secretName: mas-postgres-mas-cert
# defaultMode: 0640
# extraVolumeMounts:
# - name: postgres-ca
# mountPath: /etc/secrets/ca
# - name: postgres-client-certs
# mountPath: /etc/secrets/mas
externalDatabase:
enabled: true
# ssl must be disabled till this is fixed:
# https://github.com/matrix-org/matrix-authentication-service/issues/2799
# sslrootcert: /etc/secrets/ca/ca.crt
# sslcert: /etc/secrets/mas/tls.crt
# sslkey: /etc/secrets/mas/tls.key
sslmode: disable
port: 5432
username: mas
database: mas
existingSecret: "mas-pgsql-credentials"
secretKeys:
databaseHostname: hostname
database: database
databaseUsername: username
userPasswordKey: password
adminPasswordKey: postgresPassword
networkPolicies:
enabled: false
# for storing your matrix authentication service config file
configVolume:
existingClaim: "mas-config"
ingress:
# MAS ingress
enabled: true
className: "nginx"
annotations:
cert-manager.io/cluster-issuer: '{{ .global_cluster_issuer }}'
hosts:
- host: '{{ .matrix_auth_hostname }}'
paths:
- path: /
pathType: Prefix
tls:
- secretName: matrix-authentication-service-tls
hosts:
- '{{ .matrix_auth_hostname }}'
# templates out the Matrix Authentication Service config file
mas:
database:
uri: ""
http:
# -- Public URL base used when building absolute public URLs
public_base: "https://{{ .matrix_auth_hostname }}/"
# List of HTTP listeners, see below
listeners:
# The name of the listener, used in logs and metrics
- name: web
# List of resources to serve
resources:
# Serves the .well-known/openid-configuration document
- name: discovery
# Serves the human-facing pages, such as the login page
- name: human
# Serves the OAuth 2.0/OIDC endpoints
- name: oauth
# Serves the Matrix C-S API compatibility endpoints
- name: compat
# Serve the GraphQL API used by the frontend,
# and optionally the GraphQL playground
- name: graphql
# playground: true
- name: health
- name: assets
# List of addresses and ports to listen to
binds:
# First option: listen to the given address
# - address: "[::]:8080"
# Second option: listen on the given host and port combination
- host: 0.0.0.0
port: 8080
# Whether to enable the PROXY protocol on the listener
proxy_protocol: false
policy:
client_registration:
# don't require URIs to be on the same host. default: false
allow_host_mismatch: true
# allow non-SSL and localhost URIs. default: false
allow_insecure_uris: true
masClientSecret:
# -- use an existing secret for clients section of config.yaml for:
# mas.clients[0].client_id, mas.clients[0].client_secret
# if set, ignores mas.clients[0].client_id, mas.clients[0].client_secret
existingSecret: "matrix-authentication-service"
secretKeys:
# -- key in secret with the client_id
client_id: "client_id"
# -- key in secret with the client_secret
client_secret: "client_secret"
# this is mostly ignored in favor of the above masClientSecret variable
clients:
- client_id: ""
client_auth_method: client_secret_basic
client_secret: ""
matrix:
homeserver: "{{ .matrix_hostname }}"
endpoint: "https://{{ .matrix_hostname }}"
existingSecret: "matrix-authentication-service"
secretKey: "token"
upstream_oauth2:
existingSecret: "synapse-oidc"
secretKeys:
# -- key in secret with the issuer
issuer: "issuer"
# -- key in secret with the client_id
client_id: "client_id"
# -- key in secret with the client_secret
client_secret: "client_secret"
# -- ulid for id
id: "provider_id"
providers:
# -- A unique identifier for the provider
# Must be a valid ULID, and can be generated using online tools like:
# https://www.ulidtools.com
- id: ""
issuer: https://example.com/
# human_name: zitadel
# brand_name: zitadel
client_id: ""
client_secret: ""
# owth Supported methods are:
# - `client_secret_post`
# - `client_secret_jwt`
# - `private_key_jwt` (using the keys defined in the `secrets.keys` section)
token_endpoint_auth_method: client_secret_basic
# for `private_key_jwt` or the `client_secret_jwt` auth methods
# token_endpoint_auth_signing_alg: RS256
scope: "openid email profile"
discovery_mode: oidc
# other values: always (use PKCE with the S256 method) or never
pkce_method: auto
# This takes precedence over the discovery mechanism
# jwks_uri: https://example.com/oauth2/keys
claims_imports:
subject:
template: "{{`{{ user.sub }}`}}"
localpart:
action: require
template: "{{`{{ user.preferred_username }}`}}"
displayname:
action: suggest
template: "{{`{{ user.name }}`}}"
email:
action: suggest
template: "{{`{{ user.email }}`}}"
set_email_verification: always
element:
enabled: true
ingress:
# element ingress
enabled: true
tls:
enabled: true
host: '{{ .matrix_element_hostname }}'
annotations:
# required for the Nginx ingress provider
nginx.ingress.kubernetes.io/configuration-snippet: |
proxy_intercept_errors off;
cert-manager.io/cluster-issuer: '{{ .global_cluster_issuer }}'
# Organization/enterprise branding
branding:
# -- brand shown in email notifications
brand: "{{ .matrix_hostname }}"
# -- Background of login splash screen
welcomeBackgroundUrl: "https://i.imgur.com/VpFquY4.png"
# -- Logo shown at top of login screen
authHeaderLogoUrl: "https://raw.githubusercontent.com/jessebot/dot_files/main/.local/share/fastfetch/logos/dogontheinternet.png"
# -- Array of links to show at the bottom of the login screen
authFooterLinks: []
# - text:
# url:
# Element integrations configuration
integrations:
# -- enables the Integrations menu, including:
# widgets, bots, and other plugins to Element
enabled: false
# -- Experimental features in Element, see:
# https://github.com/vector-im/element-web/blob/develop/docs/labs.md
labs:
- feature_report_to_moderators
- feature_pinning
- feature_mjolnir
- feature_disable_call_per_sender_encryption
- feature_dm_verification
- feature_bridge_state
- feature_html_topic
- feature_custom_themes
- feature_jump_to_date
- feature_video_rooms
- feature_element_call_video_rooms
- feature_group_calls
# -- Servers to show in the Explore menu (the current server is always shown)
roomDirectoryServers:
- matrix.org
# -- Set to the user ID (@username:domain.tld) of a bot to invite all new
# users to a DM with the bot upon registration
welcomeUserId: ""
# -- Prefix before permalinks generated when users share links to rooms,
# users, or messages. If running an unfederated Synapse, set the below to the
# URL of your Element instance.
# permalinkPrefix: "https://matrix.to"
permalinkPrefix: "https://{{ .matrix_element_hostname }}"
# Element Kubernetes resource settings
image:
# -- registry and repository to use for element docker image
repository: "vectorim/element-web"
# -- tag to use for element docker image
# -- pullPolicy to use for element image, set to Always if using latest tag
pullPolicy: IfNotPresent
service:
type: ClusterIP
port: 80
replicaCount: 1
resources: {}
# -- Element specific labels
labels:
component: element
# Settings for Coturn TURN relay, used for routing voice calls
coturn:
enabled: false
# Settings for email notifications
mail:
enabled: true
# disable exim relay
relay:
enabled: false
# External mail server
external:
# INSECURE: 25, SSL: 465, STARTTLS: 587
port: 587
requireTransportSecurity: true
existingSecret: "matrix-smtp-credentials"
secretKeys:
host: "host"
username: "username"
password: "password"
bridges:
irc:
# -- Set to true to enable the IRC bridge
enabled: false
discord:
# -- Set to true to enable the Discord bridge
enabled: false
networkPolicies:
# -- whether to enable kubernetes network policies or not
enabled: true