Skip to content

Commit bb9fc04

Browse files
committed
Defined the spec.strategy.type field as Recreate
1 parent 5a285c5 commit bb9fc04

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
- Updated the Kubernetes Deployment `spec.strategy.type` field to be of type `Recreate`
11+
in order to properly handle upgrades/restarts as the default deployment creates a PVC
12+
of type `ReadWriteOnce` and could only be assigned to one replica.
13+
1014
## [2.4.0](https://github.com/coder/code-marketplace/releases/tag/v2.4.0) - 2025-09-04
1115

1216
### Added

helm/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ spec:
1111
selector:
1212
matchLabels:
1313
{{- include "code-marketplace.selectorLabels" . | nindent 6 }}
14+
strategy:
15+
type: Recreate
1416
template:
1517
metadata:
1618
{{- with .Values.podAnnotations }}

0 commit comments

Comments
 (0)