feat: Add deployment strategy configuration to Helm chart

Added strategy.type option to values.yaml (default: RollingUpdate) to allow
users to configure the deployment strategy. Users with ReadWriteOnce (RWO)
persistent volumes should set this to "Recreate" to avoid Multi-Attach errors
during upgrades.

Related to #1057
This commit is contained in:
rcourtman 2026-01-07 17:57:41 +00:00
parent 95fb896a03
commit e4c17777d0
2 changed files with 7 additions and 0 deletions

View file

@ -6,6 +6,8 @@ metadata:
{{- include "pulse.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
strategy:
type: {{ .Values.strategy.type | default "RollingUpdate" }}
selector:
matchLabels:
{{- include "pulse.selectorLabels" . | nindent 6 }}

View file

@ -4,6 +4,11 @@
replicaCount: 1
# Deployment strategy. Default is RollingUpdate, but Recreate is recommended
# when using ReadWriteOnce (RWO) persistent volumes to avoid Multi-Attach errors.
strategy:
type: RollingUpdate
image:
repository: rcourtman/pulse
# Overrides the image tag whose default is the chart appVersion.