mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
Merge branch 'main' into rdanzey/extraVolumes
This commit is contained in:
commit
ec873a97c7
|
|
@ -19,6 +19,13 @@ spec:
|
||||||
annotations:
|
annotations:
|
||||||
confighash: secret-{{ .Values.dendrite_config | toYaml | sha256sum | trunc 32 }}
|
confighash: secret-{{ .Values.dendrite_config | toYaml | sha256sum | trunc 32 }}
|
||||||
spec:
|
spec:
|
||||||
|
strategy:
|
||||||
|
type: {{ $.Values.strategy.type }}
|
||||||
|
{{- if eq $.Values.strategy.type "RollingUpdate" }}
|
||||||
|
rollingUpdate:
|
||||||
|
maxSurge: {{ $.Values.strategy.rollingUpdate.maxSurge }}
|
||||||
|
maxUnavailable: {{ $.Values.strategy.rollingUpdate.maxUnavailable }}
|
||||||
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: {{ include "dendrite.fullname" . }}-conf-vol
|
- name: {{ include "dendrite.fullname" . }}-conf-vol
|
||||||
secret:
|
secret:
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,15 @@ extraVolumeMounts: []
|
||||||
# - mountPath: /etc/dendrite/extra-config
|
# - mountPath: /etc/dendrite/extra-config
|
||||||
# name: extra-config
|
# name: extra-config
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
# -- Strategy to use for rolling updates (e.g. Recreate, RollingUpdate)
|
||||||
|
# If you are using ReadWriteOnce volumes, you should probably use Recreate
|
||||||
|
type: RollingUpdate
|
||||||
|
rollingUpdate:
|
||||||
|
# -- Maximum number of pods that can be unavailable during the update process
|
||||||
|
maxUnavailable: 25%
|
||||||
|
# -- Maximum number of pods that can be scheduled above the desired number of pods
|
||||||
|
maxSurge: 25%
|
||||||
|
|
||||||
dendrite_config:
|
dendrite_config:
|
||||||
version: 2
|
version: 2
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue