matrix
This commit is contained in:
5
matrix/dendrite/.helm-docs/about.gotmpl
Normal file
5
matrix/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
matrix/dendrite/.helm-docs/appservices.gotmpl
Normal file
5
matrix/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 }}
|
18
matrix/dendrite/.helm-docs/database.gotmpl
Normal file
18
matrix/dendrite/.helm-docs/database.gotmpl
Normal file
@@ -0,0 +1,18 @@
|
||||
{{ define "chart.dbCreation" }}
|
||||
## Manual database creation
|
||||
|
||||
(You can skip this, if you're deploying the PostgreSQL dependency)
|
||||
|
||||
You'll need to create the following database before starting Dendrite (see [installation](https://matrix-org.github.io/dendrite/installation/database#single-database-creation)):
|
||||
|
||||
```postgres
|
||||
create database dendrite
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```bash
|
||||
sudo -u postgres createdb -O dendrite -E UTF-8 dendrite
|
||||
```
|
||||
|
||||
{{ end }}
|
27
matrix/dendrite/.helm-docs/monitoring.gotmpl
Normal file
27
matrix/dendrite/.helm-docs/monitoring.gotmpl
Normal file
@@ -0,0 +1,27 @@
|
||||
{{ define "chart.monitoringSection" }}
|
||||
## Monitoring
|
||||
|
||||

|
||||
|
||||
* Works well with [Prometheus Operator](https://prometheus-operator.dev/) ([Helmchart](https://artifacthub.io/packages/helm/prometheus-community/kube-prometheus-stack)) and their setup of [Grafana](https://grafana.com/grafana/), by enabling the following values:
|
||||
```yaml
|
||||
dendrite_config:
|
||||
global:
|
||||
metrics:
|
||||
enabled: true
|
||||
|
||||
prometheus:
|
||||
servicemonitor:
|
||||
enabled: true
|
||||
labels:
|
||||
release: "kube-prometheus-stack"
|
||||
rules:
|
||||
enabled: true # will deploy alert rules
|
||||
labels:
|
||||
release: "kube-prometheus-stack"
|
||||
grafana:
|
||||
dashboards:
|
||||
enabled: true # will deploy default dashboards
|
||||
```
|
||||
PS: The label `release=kube-prometheus-stack` is setup with the helmchart of the Prometheus Operator. For Grafana Dashboards it may be necessary to enable scanning in the correct namespaces (or ALL), enabled by `sidecar.dashboards.searchNamespace` in [Helmchart of grafana](https://artifacthub.io/packages/helm/grafana/grafana) (which is part of PrometheusOperator, so `grafana.sidecar.dashboards.searchNamespace`)
|
||||
{{ end }}
|
3
matrix/dendrite/.helm-docs/state.gotmpl
Normal file
3
matrix/dendrite/.helm-docs/state.gotmpl
Normal file
@@ -0,0 +1,3 @@
|
||||
{{ define "chart.state" }}
|
||||
Status: **NOT PRODUCTION READY**
|
||||
{{ end }}
|
Reference in New Issue
Block a user