Skip to content

Commit

Permalink
Make image volume toggleabale
Browse files Browse the repository at this point in the history
  • Loading branch information
hofq committed Jun 14, 2024
1 parent a3757b5 commit c62469b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/librechat/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.3.2
version: 1.3.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 2 additions & 2 deletions charts/librechat/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
subPath: "librechat.yaml"
readOnly: true
{{- end }}
{{- if .Values.librechat.imageVolume }}
{{- if .Values.librechat.imageVolume.enabled }}
- name: image-volume
mountPath: "/app/client/public/images"
{{- end }}
Expand All @@ -74,7 +74,7 @@ spec:
name: {{ include "librechat.fullname" $ }}-config
{{- end }}
{{- end }}
{{- if .Values.librechat.imageVolume }}
{{- if .Values.librechat.imageVolume.enabled }}
- name: image-volume
persistentVolumeClaim:
claimName: {{ include "librechat.fullname" $ }}-images
Expand Down
2 changes: 1 addition & 1 deletion charts/librechat/templates/persistentvolumeclaim.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.librechat.imageVolume }}
{{- if .Values.librechat.imageVolume.enabled }}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
Expand Down
2 changes: 2 additions & 0 deletions charts/librechat/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ librechat:

# Volume used to store image Files uploaded to the Web UI
imageVolume:
enabled: true
size: 10G
# storageClassName:

# only lite RAG is supported
librechat-rag-api:
Expand Down

0 comments on commit c62469b

Please sign in to comment.