From d7bad5bfab46d56525f2aed1ef263b16a91eb1a1 Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Thu, 24 Aug 2023 16:31:57 +0200 Subject: [PATCH] Strategy wrongly duplicated at pod level A pod has no `strategy` field, and thus the deployment spec is broken. --- helm/dendrite/templates/deployment.yaml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/helm/dendrite/templates/deployment.yaml b/helm/dendrite/templates/deployment.yaml index 3a0bd68d8..e3f84cdae 100644 --- a/helm/dendrite/templates/deployment.yaml +++ b/helm/dendrite/templates/deployment.yaml @@ -26,13 +26,6 @@ spec: annotations: confighash: secret-{{ .Values.dendrite_config | toYaml | sha256sum | trunc 32 }} 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: - name: {{ include "dendrite.fullname" . }}-conf-vol secret: @@ -116,4 +109,4 @@ spec: failureThreshold: 10 httpGet: path: /_dendrite/monitor/up - port: http \ No newline at end of file + port: http