Skip to content

Commit cbc23f6

Browse files
committed
standardize Federation deployment
1 parent 4acf6b3 commit cbc23f6

File tree

4 files changed

+83
-3
lines changed

4 files changed

+83
-3
lines changed
Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,28 @@
1-
# using upstream values for coturn helm
1+
# using upstream values for coturn helm
2+
replicaCount: 3
3+
# image:
4+
# tag: some-tag # (only override if you want a newer/different version than what is in the chart)
5+
config:
6+
verboseLogging: false
7+
# rateLimit:
8+
# allowlist: # List of IPs to be excluded from rate limiting
9+
# -
10+
coturnTurnExternalIP: "__COTURN_EXT_IP__"
11+
coturnTurnListenIP: "__COTURN_HOST_IP__"
12+
coturnTurnRelayIP: "__COTURN_HOST_IP__"
13+
coturnFederationListeningIP: "__COTURN_HOST_IP__"
14+
# Uncomment to enable federation
15+
# federate:
16+
# enabled: true
17+
# port: 9191
18+
# dtls:
19+
# enabled: true
20+
# tls:
21+
# issuerRef: letsencrypt-http01
22+
# kind: ClusterIssuer
23+
# certificate:
24+
# dnsNames:
25+
# - coturn.example.com
26+
# - coturn-0.example.com
27+
# - coturn-1.example.com
28+
# - coturn-2.example.com

values/nginx-ingress-services/prod-secrets.example.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
# as the ingress seems to simply "swallow" errors if any (and serve the Fake default certificate
44
# which is highly confusing)
55
secrets:
6+
tlsClientCA: | # for federating backends root CA certificates
7+
-----BEGIN CERTIFICATE-----
8+
.... THEIR CERTIFICATE ....
9+
-----END CERTIFICATE-----
610
tlsWildcardCert: |
711
-----BEGIN CERTIFICATE-----
812
.... OWN CERTIFICATE ......
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1+
replicaCount: 3
2+
# image:
3+
# tag: some-tag # (only override if you want a newer/different version than what is in the chart)
14
allowOrigin: https://webapp.example.com
25
host: sftd.example.com
3-
replicaCount: 3
46
tls:
57
issuerRef:
68
name: letsencrypt-http01
79
kind: ClusterIssuer
10+
# Uncomment to enable SFT to SFT communication for federated calls
11+
# multiSFT:
12+
# enabled: true
13+
# discoveryRequired: false
14+
# turnServerURI: "turn:coturn.public.ip.address:3478?transport=udp"
15+
# secret: "coturn_zrest_secret"

values/wire-server/prod-values.example.yaml

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ brig:
2121
# image:
2222
# tag: some-tag (only override if you want a newer/different version than what is in the chart)
2323
config:
24+
multiSFT:
25+
enabled: false # enable to turn on SFT to SFT communication for federated calls
2426
cassandra:
2527
host: cassandra-external
2628
elasticsearch:
@@ -51,10 +53,12 @@ brig:
5153
teamMemberWelcome: https://wire.example.com/download # change this
5254
enableFederation: false # Enable to use federation
5355
optSettings:
56+
setEnableMLS: false # Enable for MLS protocol use
5457
setFederationDomain: example.com # change this
5558
# Sync the domain with the 'host' variable in the sftd chart
5659
# Comment the next line (by adding '#' before it) if conference calling is not used
5760
setSftStaticUrl: "https://sftd.example.com:443"
61+
# setSftListAllServers: "enabled" # Uncomment for Federation!
5862
# If set to true, creating new personal users or new teams on your instance from
5963
# outside your backend installation is disabled
6064
setRestrictUserCreation: false
@@ -127,6 +131,8 @@ cannon:
127131
# For demo mode only, we don't need to keep websocket connections open on chart upgrades
128132
drainTimeout: 10
129133
config:
134+
rabbitmq:
135+
host: rabbitmq-external
130136
cassandra:
131137
host: cassandra-external
132138
metrics:
@@ -176,7 +182,33 @@ galley:
176182
federationDomain: example.com # change this
177183
# see #RefConfigOptions in `/docs/reference` (https://github.com/wireapp/wire-server/)
178184
featureFlags:
179-
sso: disabled-by-default
185+
mls:
186+
defaults:
187+
status: enabled
188+
config:
189+
protocolToggleUsers: []
190+
defaultProtocol: mls
191+
allowedCipherSuites: [2]
192+
defaultCipherSuite: 2
193+
supportedProtocols: [proteus, mls]
194+
lockStatus: unlocked
195+
mlsMigration:
196+
defaults:
197+
status: enabled
198+
config:
199+
startTime: null
200+
finalizeRegardlessAfter: null
201+
usersThreshold: 100
202+
clientsThreshold: 100
203+
lockStatus: unlocked
204+
sso: enabled-by-default
205+
# channels: # Uncomment to enable channels by default for all newly created teams
206+
# defaults:
207+
# status: enabled
208+
# config:
209+
# allowed_to_create_channels: team-members
210+
# allowed_to_open_channels: team-members
211+
# lockStatus: unlocked
180212
# NOTE: Change this to "disabled-by-default" for legalhold support
181213
# legalhold: disabled-by-default
182214
legalhold: disabled-permanently
@@ -288,13 +320,22 @@ legalhold:
288320
enabled: false
289321
# Only needed when federation is enabled
290322
federator:
323+
# config:
324+
# optSettings:
325+
# federationStrategy:
326+
# allowedDomains:
327+
# - example.com
291328
tls:
292329
useSharedFederatorSecret: true
330+
# remoteCAContents: | # Uncomment and place the federating backends root CA certificates in chain (if there are multiple)
293331
metrics:
294332
serviceMonitor:
295333
enabled: false
296334
background-worker:
297335
config:
336+
# logLevel: Debug
337+
rabbitmq:
338+
host: rabbitmq-external
298339
cassandra:
299340
host: cassandra-external
300341
# Enable for federation

0 commit comments

Comments
 (0)