mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-20 12:33:09 -06:00
chart - Add configuration for extra volumes / volume mounts
Signed-off-by: Rhea Danzey <rdanzey@element.io>
This commit is contained in:
parent
2854ffeb7d
commit
7f2bcbbf3b
|
|
@ -1,6 +1,6 @@
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: dendrite
|
name: dendrite
|
||||||
version: "0.12.1"
|
version: "0.12.2"
|
||||||
appVersion: "0.12.0"
|
appVersion: "0.12.0"
|
||||||
description: Dendrite Matrix Homeserver
|
description: Dendrite Matrix Homeserver
|
||||||
type: application
|
type: application
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,9 @@ spec:
|
||||||
- name: {{ include "dendrite.fullname" . }}-search
|
- name: {{ include "dendrite.fullname" . }}-search
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ default (print ( include "dendrite.fullname" . ) "-search-pvc") $.Values.persistence.search.existingClaim | quote }}
|
claimName: {{ default (print ( include "dendrite.fullname" . ) "-search-pvc") $.Values.persistence.search.existingClaim | quote }}
|
||||||
|
{{- with .Values.extraVolumes }}
|
||||||
|
{{ . | toYaml | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
{{- include "image.name" . | nindent 8 }}
|
{{- include "image.name" . | nindent 8 }}
|
||||||
|
|
@ -73,6 +76,9 @@ spec:
|
||||||
name: {{ include "dendrite.fullname" . }}-jetstream
|
name: {{ include "dendrite.fullname" . }}-jetstream
|
||||||
- mountPath: {{ .Values.dendrite_config.sync_api.search.index_path }}
|
- mountPath: {{ .Values.dendrite_config.sync_api.search.index_path }}
|
||||||
name: {{ include "dendrite.fullname" . }}-search
|
name: {{ include "dendrite.fullname" . }}-search
|
||||||
|
{{- with .Values.extraVolumeMounts }}
|
||||||
|
{{ . | toYaml | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
initialDelaySeconds: 10
|
initialDelaySeconds: 10
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,21 @@ persistence:
|
||||||
# -- PVC Storage Request for the search volume
|
# -- PVC Storage Request for the search volume
|
||||||
capacity: "1Gi"
|
capacity: "1Gi"
|
||||||
|
|
||||||
|
# Add additional volumes to the Dendrite Pod
|
||||||
|
extraVolumes: []
|
||||||
|
# ex.
|
||||||
|
# - name: extra-config
|
||||||
|
# secret:
|
||||||
|
# secretName: extra-config
|
||||||
|
|
||||||
|
|
||||||
|
# Configure additional mount points volumes in the Dendrite Pod
|
||||||
|
extraVolumeMounts: []
|
||||||
|
# ex.
|
||||||
|
# - mountPath: /etc/dendrite/extra-config
|
||||||
|
# name: extra-config
|
||||||
|
|
||||||
|
|
||||||
dendrite_config:
|
dendrite_config:
|
||||||
version: 2
|
version: 2
|
||||||
global:
|
global:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue