Source: https://nonedhudla.xyz/installing-synapse-on-kubernetes/
Changed version from v1.25.0

apply #1.

Uncomment the args and env lines in #2, then apply.

Then find homeserver.yaml in the PV path, and run:
```
ls /mnt/kubernetes/volumes/static/
kubectl delete deployment.apps synapse
vim /mnt/kubernetes/volumes/static/synapse-pv/homeserver.yaml
```

set pulbic_baseurl
set admin_contact
set enable_group_creation to true
Comment out the 'database' section (sqlite3)
Add database:
```
database:
  name: psycopg2
  args:
    user: synapse-db
    password: MaybeJetteroWillLike
    database: synapse
    host: postgres-service
    cp_min: 5
    cp_max: 10
```

Comment out the args and evn lines in #2 and reaply

apply 3.service.yaml

Copy files to s3

aws s3 cp server s3://monkeybox.org/.well-known/matrix/server
aws s3 cp client s3://monkeybox.org/.well-known/matrix/client
 
