Skip to content

Commit

Permalink
Add sftd configuration to wire-server values
Browse files Browse the repository at this point in the history
  • Loading branch information
arianvp committed Feb 15, 2021
1 parent 6093f60 commit 1e83206
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
9 changes: 9 additions & 0 deletions values/wire-server/demo-values.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ tags:
proxy: false # enable if you want/need giphy/youtube/etc proxying
spar: false # enable if you want/need Single-Sign-On (SSO)

sftd:
replicaCount: 1
host: sftd.example.com # change this !! Needs to be in sync with brig.optSettings.setSftStaticUrl
allowOrigin: https://webapp.example.com # change this
tls:
issuerRef:
kind: ClusterIssuer
name: letsencrypt-prod

cassandra-migrations:
# images:
# tag: some-tag (only override if you want a newer/different version than what is in the chart)
Expand Down
9 changes: 9 additions & 0 deletions values/wire-server/prod-secrets.example.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
# CHANGEME-PROD: All values here should be changed/reviewed
sftd:
tls:
# NOTE: REMOVE these entries if using cert-manager (through tls.issuerRef)
crt: |
----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
key: |
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
brig:
secrets:
smtpPassword: dummyPassword
Expand Down
11 changes: 11 additions & 0 deletions values/wire-server/prod-values.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ tags:
team-settings: false # enable if you need team-settings. Requires a pullSecret
legalhold: false # Enable if you need legalhold

sftd:
replicaCount: 3
host: sftd.example.com # change this !! Needs to be in sync with brig.optSettings.setSftStaticUrl
allowOrigin: https://webapp.example.com # change this
tls:
# !! comment out if using static certificates in prod-secrets.yaml, and not https://cert-manager.io
# Points to an existing
issuerRef:
kind: ClusterIssuer
name: letsencrypt-prod

cassandra-migrations:
# images:
# tag: some-tag (only override if you want a newer/different version than what is in the chart)
Expand Down

0 comments on commit 1e83206

Please sign in to comment.