Skip to content

Commit

Permalink
Merge pull request #49 from pnancarrow/add-volume-options
Browse files Browse the repository at this point in the history
add volume and volumemount to deployment
  • Loading branch information
hofq authored Dec 10, 2024
2 parents 7caa5c4 + 8a0ebc3 commit b4ef964
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 15 deletions.
2 changes: 1 addition & 1 deletion charts/librechat-rag-api/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: 0.2.1
version: 0.2.2

# 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
12 changes: 0 additions & 12 deletions charts/librechat-rag-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,6 @@ resources: {}
# path: /
# port: http

# Additional volumes on the output Deployment definition.
volumes: []
# - name: foo
# secret:
# secretName: mysecret
# optional: false

# Additional volumeMounts on the output Deployment definition.
volumeMounts: []
# - name: foo
# mountPath: "/etc/foo"
# readOnly: true

nodeSelector: {}

Expand Down
4 changes: 2 additions & 2 deletions 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.8.1
version: 1.8.2

# 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 All @@ -36,6 +36,6 @@ dependencies:
condition: meilisearch.enabled
repository: "https://meilisearch.github.io/meilisearch-kubernetes"
- name: librechat-rag-api
version: "0.2.1"
version: "0.2.2"
condition: librechat-rag-api.enabled
repository: file://../librechat-rag-api #"https://charts.blue-atlas.de"
6 changes: 6 additions & 0 deletions charts/librechat/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ spec:
- name: image-volume
mountPath: "/app/client/public/images"
{{- end }}
{{- if .Values.volumeMounts }}
{{- toYaml .Values.volumeMounts | nindent 10 }}
{{- end }}
envFrom:
- configMapRef:
name: {{ include "librechat.fullname" $ }}-configenv
Expand All @@ -84,6 +87,9 @@ spec:
persistentVolumeClaim:
claimName: {{ include "librechat.fullname" $ }}-images
{{- end }}
{{- if .Values.volumes }}
{{- toYaml .Values.volumes | nindent 6 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit b4ef964

Please sign in to comment.