Add missing files, fix lint

This commit is contained in:
Till Faelligen 2022-12-06 09:30:35 +01:00
parent 40e70c16f3
commit 00785f04a1
No known key found for this signature in database
GPG key ID: ACCDC9606D472758
7 changed files with 47 additions and 16 deletions

View file

@ -1,5 +1,7 @@
remote: origin
target-branch: main
chart-repos: chart-repos:
- bitnami=https://charts.bitnami.com/bitnami - bitnami=https://charts.bitnami.com/bitnami
chart-dirs: chart-dirs:
- helm - helm
validate-maintainers: false validate-maintainers: false

View 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 }}

View 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 }}

View 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 }}

View file

@ -0,0 +1,3 @@
{{ define "chart.state" }}
Status: **NOT PRODUCTION READY**
{{ end }}

View file

@ -1,4 +1,4 @@
apiVersion: v1 apiVersion: v2
name: dendrite name: dendrite
version: "0.10.8" version: "0.10.8"
appVersion: "0.10.8" appVersion: "0.10.8"

View file

@ -32,15 +32,13 @@ configuration:
create: true create: true
# -- Use an existing secret # -- Use an existing secret
existingSecret: "" existingSecret: ""
key_validity_period: 168h0m0s key_validity_period: 168h0m0s
database: database:
# -- Default database host # -- Default database host
host: "" host: ""
# -- Default database user # -- Default database user
user: "" user: ""
# -- Default database password # -- Default database password
password: "" password: ""
@ -86,7 +84,7 @@ configuration:
turn_username: "" turn_username: ""
# -- The TURN password # -- The TURN password
turn_password: "" turn_password: ""
rate_limiting: rate_limiting:
# -- Enable rate limiting # -- Enable rate limiting
enabled: true enabled: true
@ -172,7 +170,7 @@ clientapi:
# -- enable reCAPTCHA registration # -- enable reCAPTCHA registration
enable_registration_captcha: false enable_registration_captcha: false
# -- reCAPTCHA public key # -- reCAPTCHA public key
recaptcha_public_key: "" recaptcha_public_key: ""
# -- reCAPTCHA private key # -- reCAPTCHA private key
recaptcha_private_key: "" recaptcha_private_key: ""
@ -206,13 +204,6 @@ mediaapi:
- width: 640 - width: 640
height: 480 height: 480
method: scale method: scale
#resources:
# requests:
# cpu: "160m"
# memory: "128Mi"
# limits:
# cpu: "480m"
# memory: "512Mi"
syncapi: syncapi:
# -- This option controls which HTTP header to inspect to find the real remote IP # -- This option controls which HTTP header to inspect to find the real remote IP
@ -255,7 +246,7 @@ postgresql:
ingress: ingress:
# -- Create an ingress for a monolith deployment # -- Create an ingress for a monolith deployment
enabled: false enabled: false
annotations: {} annotations: {}
hosts: [] hosts: []
tls: [] tls: []