Skip to content

Commit

Permalink
Merge pull request #44 from zekker6/deployment-update-strategy
Browse files Browse the repository at this point in the history
charts/librechat/templates: add an option to override deployment update strategy
  • Loading branch information
hofq authored Dec 1, 2024
2 parents 09b789f + 6c65348 commit 9c3651a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/librechat/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/librechat/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@ tolerations: []

affinity: {}

# Strategy for LibreChat deployment updates
updateStrategy:
type: RollingUpdate

# MongoDB Parameters
mongodb:
enabled: true
Expand Down

0 comments on commit 9c3651a

Please sign in to comment.