mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
Add missing files, fix lint
This commit is contained in:
parent
40e70c16f3
commit
00785f04a1
|
|
@ -1,5 +1,7 @@
|
|||
remote: origin
|
||||
target-branch: main
|
||||
chart-repos:
|
||||
- bitnami=https://charts.bitnami.com/bitnami
|
||||
chart-dirs:
|
||||
- helm
|
||||
validate-maintainers: false
|
||||
validate-maintainers: false
|
||||
5
helm/dendrite/.helm-docs/about.gotmpl
Normal file
5
helm/dendrite/.helm-docs/about.gotmpl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{{ define "chart.about" }}
|
||||
## About
|
||||
|
||||
This chart creates a monolith deployment, including an optionally enabled PostgreSQL dependency to connect to.
|
||||
{{ end }}
|
||||
5
helm/dendrite/.helm-docs/appservices.gotmpl
Normal file
5
helm/dendrite/.helm-docs/appservices.gotmpl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{{ define "chart.appservices" }}
|
||||
## Usage with appservices
|
||||
|
||||
Create a folder `appservices` and place your configurations in there. The configurations will be read and placed in a secret `dendrite-appservices-conf`.
|
||||
{{ end }}
|
||||
25
helm/dendrite/.helm-docs/database.gotmpl
Normal file
25
helm/dendrite/.helm-docs/database.gotmpl
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{{ define "chart.dbCreation" }}
|
||||
## Manual database creation
|
||||
|
||||
(You can skip this, if you're deploying the PostgreSQL dependency)
|
||||
|
||||
You'll need to create the following databases before starting Dendrite (see [install.md](https://github.com/matrix-org/dendrite/blob/master/docs/INSTALL.md#configuration)):
|
||||
|
||||
```postgres
|
||||
create database dendrite_federationapi;
|
||||
create database dendrite_mediaapi;
|
||||
create database dendrite_roomserver;
|
||||
create database dendrite_userapi_accounts;
|
||||
create database dendrite_keyserver;
|
||||
create database dendrite_syncapi;
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```bash
|
||||
for i in mediaapi syncapi roomserver federationapi keyserver userapi_accounts; do
|
||||
sudo -u postgres createdb -O dendrite dendrite_$i
|
||||
done
|
||||
```
|
||||
|
||||
{{ end }}
|
||||
3
helm/dendrite/.helm-docs/state.gotmpl
Normal file
3
helm/dendrite/.helm-docs/state.gotmpl
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{{ define "chart.state" }}
|
||||
Status: **NOT PRODUCTION READY**
|
||||
{{ end }}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: v1
|
||||
apiVersion: v2
|
||||
name: dendrite
|
||||
version: "0.10.8"
|
||||
appVersion: "0.10.8"
|
||||
|
|
|
|||
|
|
@ -32,15 +32,13 @@ configuration:
|
|||
create: true
|
||||
# -- Use an existing secret
|
||||
existingSecret: ""
|
||||
|
||||
key_validity_period: 168h0m0s
|
||||
|
||||
|
||||
database:
|
||||
# -- Default database host
|
||||
host: ""
|
||||
host: ""
|
||||
# -- Default database user
|
||||
user: ""
|
||||
user: ""
|
||||
# -- Default database password
|
||||
password: ""
|
||||
|
||||
|
|
@ -86,7 +84,7 @@ configuration:
|
|||
turn_username: ""
|
||||
# -- The TURN password
|
||||
turn_password: ""
|
||||
|
||||
|
||||
rate_limiting:
|
||||
# -- Enable rate limiting
|
||||
enabled: true
|
||||
|
|
@ -172,7 +170,7 @@ clientapi:
|
|||
|
||||
# -- enable reCAPTCHA registration
|
||||
enable_registration_captcha: false
|
||||
# -- reCAPTCHA public key
|
||||
# -- reCAPTCHA public key
|
||||
recaptcha_public_key: ""
|
||||
# -- reCAPTCHA private key
|
||||
recaptcha_private_key: ""
|
||||
|
|
@ -206,13 +204,6 @@ mediaapi:
|
|||
- width: 640
|
||||
height: 480
|
||||
method: scale
|
||||
#resources:
|
||||
# requests:
|
||||
# cpu: "160m"
|
||||
# memory: "128Mi"
|
||||
# limits:
|
||||
# cpu: "480m"
|
||||
# memory: "512Mi"
|
||||
|
||||
syncapi:
|
||||
# -- This option controls which HTTP header to inspect to find the real remote IP
|
||||
|
|
@ -255,7 +246,7 @@ postgresql:
|
|||
ingress:
|
||||
# -- Create an ingress for a monolith deployment
|
||||
enabled: false
|
||||
|
||||
|
||||
annotations: {}
|
||||
hosts: []
|
||||
tls: []
|
||||
|
|
|
|||
Loading…
Reference in a new issue