Skip to content

Commit 9b2b6f2

Browse files
committed
Default to a strategy of recreate
1 parent 4b2cc5a commit 9b2b6f2

4 files changed

Lines changed: 7 additions & 32 deletions

File tree

.circleci/config.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.circleci/prep-kubeval.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

.circleci/prep-unit-tests.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

charts/docker-mailserver/values.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,13 @@ pod:
118118

119119
## Update strategy - only really applicable for deployments with RWO PVs attached
120120
## If replicas = 1, an update can get "stuck", as the previous pod remains attached to the
121-
## PV, and the "incoming" pod can never start. Changing the strategy to "Recreate" will
121+
## PV, and the "incoming" pod can never start. Setting the strategy to "Recreate" (our default) will
122122
## terminate the single previous pod, so that the new, incoming pod can attach to the PV
123-
strategy: {}
123+
strategy:
124124
# rollingUpdate:
125125
# maxSurge: 1
126126
# maxUnavailable: 1
127-
# type: "RollingUpdate"
127+
type: "Recreate"
128128

129129
## The following variables affect the behaviour of docker-mailserver
130130
## See https://github.com/tomav/docker-mailserver#environment-variables for details
@@ -339,13 +339,13 @@ rainloop:
339339

340340
## Update strategy - only really applicable for deployments with RWO PVs attached
341341
## If replicas = 1, an update can get "stuck", as the previous pod remains attached to the
342-
## PV, and the "incoming" pod can never start. Changing the strategy to "Recreate" will
343-
## terminate the single previous pod, so that the new, incoming pod can attach to the PV
344-
strategy: {}
342+
## PV, and the "incoming" pod can never start. Setting the strategy to "Recreate" (our default) will
343+
## terminate the single previous pod, so that the new, incoming pod can attach to the PV.
344+
strategy:
345345
# rollingUpdate:
346346
# maxSurge: 1
347347
# maxUnavailable: 1
348-
# type: "RollingUpdate"
348+
type: "Recreate"
349349

350350
persistence:
351351
size: "1Gi"

0 commit comments

Comments
 (0)