diff --git a/charts/librechat/templates/deployment.yaml b/charts/librechat/templates/deployment.yaml index ab55e81..811cfc1 100644 --- a/charts/librechat/templates/deployment.yaml +++ b/charts/librechat/templates/deployment.yaml @@ -6,6 +6,9 @@ metadata: {{- include "librechat.labels" . | nindent 4 }} spec: replicas: {{ .Values.replicaCount }} + {{- if .Values.updateStrategy }} + strategy: {{- toYaml .Values.updateStrategy | nindent 4 }} + {{- end }} selector: matchLabels: {{- include "librechat.selectorLabels" . | nindent 6 }} diff --git a/charts/librechat/values.yaml b/charts/librechat/values.yaml index 715f35d..ec45cee 100644 --- a/charts/librechat/values.yaml +++ b/charts/librechat/values.yaml @@ -226,6 +226,10 @@ tolerations: [] affinity: {} +# Strategy for LibreChat deployment updates +updateStrategy: + type: RollingUpdate + # MongoDB Parameters mongodb: enabled: true