Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b5af68b

Browse files
authored
Defined k8s spec.strategy.type as Recreate (#118)
1 parent 1c3a19e commit b5af68b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

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

88
## Unreleased
99

10+
- Update 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.
1013
- Expose the `--verbose` and `--sign` runtime parameters as Helm variables.
1114

1215
## [2.4.0](https://github.com/coder/code-marketplace/releases/tag/v2.4.0) - 2025-09-04

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)