mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 15:03:09 -06:00
Merge branch 'main' into event-format
This commit is contained in:
commit
3f22b374b9
|
|
@ -1,6 +1,6 @@
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: dendrite
|
name: dendrite
|
||||||
version: "0.13.2"
|
version: "0.13.3"
|
||||||
appVersion: "0.13.2"
|
appVersion: "0.13.2"
|
||||||
description: Dendrite Matrix Homeserver
|
description: Dendrite Matrix Homeserver
|
||||||
type: application
|
type: application
|
||||||
|
|
|
||||||
|
|
@ -26,13 +26,6 @@ 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:
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
{{- if .Values.ingress.enabled -}}
|
{{- if .Values.ingress.enabled -}}
|
||||||
{{- $fullName := include "dendrite.fullname" . -}}
|
{{- $fullName := include "dendrite.fullname" . -}}
|
||||||
{{- $serverNameHost := .Values.dendrite_config.global.server_name -}}
|
{{- $serverNameHost := .Values.dendrite_config.global.server_name -}}
|
||||||
{{- $wellKnownServerHost := default $serverNameHost (regexFind "^[^:]+" .Values.dendrite_config.global.well_known_server_name) -}}
|
{{- $wellKnownServerHost := default $serverNameHost (regexFind "^(\\[.+\\])?[^:]*" .Values.dendrite_config.global.well_known_server_name) -}}
|
||||||
{{- $wellKnownClientHost := default $serverNameHost (regexFind "^[^:]+" .Values.dendrite_config.global.well_known_client_name) -}}
|
{{- $wellKnownClientHost := default $serverNameHost (regexFind "//(\\[.+\\])?[^:/]*" .Values.dendrite_config.global.well_known_client_name | trimAll "/") -}}
|
||||||
{{- $allHosts := list $serverNameHost $wellKnownServerHost $wellKnownClientHost | uniq -}}
|
{{- $allHosts := list $serverNameHost $wellKnownServerHost $wellKnownClientHost | uniq -}}
|
||||||
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}}
|
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
|
|
|
||||||
|
|
@ -65,16 +65,6 @@ 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%
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
# -- Strategy to use for rolling updates (e.g. Recreate, RollingUpdate)
|
# -- Strategy to use for rolling updates (e.g. Recreate, RollingUpdate)
|
||||||
# If you are using ReadWriteOnce volumes, you should probably use Recreate
|
# If you are using ReadWriteOnce volumes, you should probably use Recreate
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue