aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helm/dendrite/Chart.yaml2
-rw-r--r--helm/dendrite/templates/deployment.yaml15
-rw-r--r--helm/dendrite/templates/jobs.yaml12
-rw-r--r--helm/dendrite/values.yaml12
4 files changed, 40 insertions, 1 deletions
diff --git a/helm/dendrite/Chart.yaml b/helm/dendrite/Chart.yaml
index 7893f9bd..9613b504 100644
--- a/helm/dendrite/Chart.yaml
+++ b/helm/dendrite/Chart.yaml
@@ -1,6 +1,6 @@
apiVersion: v2
name: dendrite
-version: "0.14.5"
+version: "0.14.6"
appVersion: "0.13.8"
description: Dendrite Matrix Homeserver
type: application
diff --git a/helm/dendrite/templates/deployment.yaml b/helm/dendrite/templates/deployment.yaml
index 6496b269..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
@@ -113,4 +116,16 @@ spec:
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 42582d74..7f96f269 100644
--- a/helm/dendrite/templates/jobs.yaml
+++ b/helm/dendrite/templates/jobs.yaml
@@ -98,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 f9d82965..02cd1aa1 100644
--- a/helm/dendrite/values.yaml
+++ b/helm/dendrite/values.yaml
@@ -77,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.
@@ -100,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: