aboutsummaryrefslogtreecommitdiff
path: root/helm
diff options
context:
space:
mode:
Diffstat (limited to 'helm')
-rw-r--r--helm/ct.yaml4
-rw-r--r--helm/dendrite/Chart.yaml4
-rw-r--r--helm/dendrite/README.md5
-rw-r--r--helm/dendrite/templates/deployment.yaml19
-rw-r--r--helm/dendrite/templates/jobs.yaml16
-rw-r--r--helm/dendrite/values.yaml16
6 files changed, 59 insertions, 5 deletions
diff --git a/helm/ct.yaml b/helm/ct.yaml
index af706fa3..8b5aaa87 100644
--- a/helm/ct.yaml
+++ b/helm/ct.yaml
@@ -4,4 +4,6 @@ chart-repos:
- bitnami=https://charts.bitnami.com/bitnami
chart-dirs:
- helm
-validate-maintainers: false \ No newline at end of file
+validate-maintainers: false
+# this should ensure the tarballs are in the appropriate location for GH pages, rather than repo root
+package-path: docs/ \ No newline at end of file
diff --git a/helm/dendrite/Chart.yaml b/helm/dendrite/Chart.yaml
index a4088872..9613b504 100644
--- a/helm/dendrite/Chart.yaml
+++ b/helm/dendrite/Chart.yaml
@@ -1,7 +1,7 @@
apiVersion: v2
name: dendrite
-version: "0.14.1"
-appVersion: "0.13.7"
+version: "0.14.6"
+appVersion: "0.13.8"
description: Dendrite Matrix Homeserver
type: application
icon: https://avatars.githubusercontent.com/u/8418310?s=48&v=4
diff --git a/helm/dendrite/README.md b/helm/dendrite/README.md
index 9259c790..a5b03aa8 100644
--- a/helm/dendrite/README.md
+++ b/helm/dendrite/README.md
@@ -1,7 +1,7 @@
# dendrite
-![Version: 0.14.0](https://img.shields.io/badge/Version-0.14.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.13.7](https://img.shields.io/badge/AppVersion-0.13.7-informational?style=flat-square)
+![Version: 0.14.4](https://img.shields.io/badge/Version-0.14.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.13.8](https://img.shields.io/badge/AppVersion-0.13.8-informational?style=flat-square)
Dendrite Matrix Homeserver
Status: **NOT PRODUCTION READY**
@@ -45,6 +45,7 @@ Create a folder `appservices` and place your configurations in there. The confi
| image.repository | string | `"ghcr.io/matrix-org/dendrite-monolith"` | Docker repository/image to use |
| image.pullPolicy | string | `"IfNotPresent"` | Kubernetes pullPolicy |
| image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. |
+| imagePullSecrets | list | `[]` | Configure image pull secrets to use private container registry https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/#create-a-pod-that-uses-your-secret |
| signing_key.create | bool | `true` | Create a new signing key, if not exists |
| signing_key.existingSecret | string | `""` | Use an existing secret |
| resources | object | sets some sane default values | Default resource requests/limits. |
@@ -190,4 +191,4 @@ grafana:
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`)
----------------------------------------------
-Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1) \ No newline at end of file
+Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) \ No newline at end of file
diff --git a/helm/dendrite/templates/deployment.yaml b/helm/dendrite/templates/deployment.yaml
index e3f84cda..3952f4a7 100644
--- a/helm/dendrite/templates/deployment.yaml
+++ b/helm/dendrite/templates/deployment.yaml
@@ -56,6 +56,9 @@ spec:
args:
- '--config'
- '/etc/dendrite/dendrite.yaml'
+ {{- with .Values.extraArgs }}
+ {{- toYaml . | nindent 10 }}
+ {{- end }}
ports:
- name: http
containerPort: 8008
@@ -110,3 +113,19 @@ spec:
httpGet:
path: /_dendrite/monitor/up
port: http
+ imagePullSecrets:
+ {{- with .Values.imagePullSecrets }}
+ {{ . | toYaml | nindent 6 }}
+ {{- end }}
+ {{- with .Values.nodeSelector }}
+ nodeSelector:
+ {{- toYaml . | nindent 8 }}
+ {{- end }}
+ {{- with .Values.affinity }}
+ affinity:
+ {{- toYaml . | nindent 8 }}
+ {{- end }}
+ {{- with .Values.tolerations }}
+ tolerations:
+ {{- toYaml . | nindent 8 }}
+ {{- end }} \ No newline at end of file
diff --git a/helm/dendrite/templates/jobs.yaml b/helm/dendrite/templates/jobs.yaml
index c10f358b..7f96f269 100644
--- a/helm/dendrite/templates/jobs.yaml
+++ b/helm/dendrite/templates/jobs.yaml
@@ -54,6 +54,10 @@ metadata:
spec:
template:
spec:
+ imagePullSecrets:
+ {{- with .Values.imagePullSecrets }}
+ {{ . | toYaml | nindent 6 }}
+ {{- end }}
restartPolicy: "Never"
serviceAccount: {{ $name }}
containers:
@@ -94,6 +98,18 @@ spec:
volumes:
- name: signing-key
emptyDir: {}
+ {{- with .Values.nodeSelector }}
+ nodeSelector:
+ {{- toYaml . | nindent 8 }}
+ {{- end }}
+ {{- with .Values.affinity }}
+ affinity:
+ {{- toYaml . | nindent 8 }}
+ {{- end }}
+ {{- with .Values.tolerations }}
+ tolerations:
+ {{- toYaml . | nindent 8 }}
+ {{- end }}
parallelism: 1
completions: 1
backoffLimit: 1
diff --git a/helm/dendrite/values.yaml b/helm/dendrite/values.yaml
index 6c5abc90..02cd1aa1 100644
--- a/helm/dendrite/values.yaml
+++ b/helm/dendrite/values.yaml
@@ -6,6 +6,10 @@ image:
# -- Overrides the image tag whose default is the chart appVersion.
tag: ""
+# -- Configure image pull secrets to use private container registry
+# https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/#create-a-pod-that-uses-your-secret
+imagePullSecrets: []
+# - name: your-pull-secret-name
# signing key to use
signing_key:
@@ -73,6 +77,9 @@ persistence:
# GKE, AWS & OpenStack)
storageClass:
+# -- Add additional arguments to the dendrite command
+extraArgs: []
+
# -- Add additional volumes to the Dendrite Pod
extraVolumes: []
# ex.
@@ -96,6 +103,15 @@ strategy:
# -- Maximum number of pods that can be scheduled above the desired number of pods
maxSurge: 25%
+# -- Node selector configuration
+nodeSelector: {}
+
+# -- Tolerations configuration
+tolerations: {}
+
+# -- Affinity configuration
+affinity: {}
+
dendrite_config:
version: 2
global: