mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 06:53:09 -06:00
[helm] Delete duplicate strategy key
CI complained about duplicate strategy keys, failing the job. Turns out the deployment.yaml defined it at the PodSpec and DeploymentSpec. The PodSpec level strategy key has been removed (non-existant). The values.yaml had a 1-to-1 duplicate of the key default values, also removed. Signed-off-by: Omar Pakker <Omar007@users.noreply.github.com>
This commit is contained in:
parent
60589e66ef
commit
4f06620329
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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