mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
Fix oops
This commit is contained in:
parent
ec873a97c7
commit
30c954ab13
|
|
@ -12,6 +12,13 @@ spec:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "dendrite.selectorLabels" . | nindent 6 }}
|
{{- include "dendrite.selectorLabels" . | nindent 6 }}
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
strategy:
|
||||||
|
type: {{ $.Values.strategy.type }}
|
||||||
|
{{- if eq $.Values.strategy.type "RollingUpdate" }}
|
||||||
|
rollingUpdate:
|
||||||
|
maxSurge: {{ $.Values.strategy.rollingUpdate.maxSurge }}
|
||||||
|
maxUnavailable: {{ $.Values.strategy.rollingUpdate.maxUnavailable }}
|
||||||
|
{{- end }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
|
@ -19,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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue