diff --git a/CHANGELOG.md b/CHANGELOG.md index 2faf09e..6c39ce7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +- Update the Kubernetes Deployment `spec.strategy.type` field to be of type `Recreate` + in order to properly handle upgrades/restarts as the default deployment creates a PVC + of type `ReadWriteOnce` and could only be assigned to one replica. - Expose the `--verbose` and `--sign` runtime parameters as Helm variables. ## [2.4.0](https://github.com/coder/code-marketplace/releases/tag/v2.4.0) - 2025-09-04 diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index 8931749..310a475 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -11,6 +11,8 @@ spec: selector: matchLabels: {{- include "code-marketplace.selectorLabels" . | nindent 6 }} + strategy: + type: Recreate template: metadata: {{- with .Values.podAnnotations }}