mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 15:03:09 -06:00
Strategy wrongly duplicated at pod level
A pod has no `strategy` field, and thus the deployment spec is broken.
This commit is contained in:
parent
a721294e2b
commit
d7bad5bfab
|
|
@ -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:
|
||||||
|
|
@ -116,4 +109,4 @@ spec:
|
||||||
failureThreshold: 10
|
failureThreshold: 10
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /_dendrite/monitor/up
|
path: /_dendrite/monitor/up
|
||||||
port: http
|
port: http
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue