From a8bfbda3586c6f7702af28aabd952c6bab3c9aba Mon Sep 17 00:00:00 2001 From: hofq <54744977+hofq@users.noreply.github.com> Date: Mon, 23 Sep 2024 17:24:43 +0200 Subject: [PATCH] #31 Variabelize accessMode --- charts/librechat/Chart.yaml | 2 +- charts/librechat/templates/persistentvolumeclaim.yaml | 2 +- charts/librechat/values.yaml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/librechat/Chart.yaml b/charts/librechat/Chart.yaml index cd04410..622bfb6 100644 --- a/charts/librechat/Chart.yaml +++ b/charts/librechat/Chart.yaml @@ -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.5.0 +version: 1.5.1 # 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 diff --git a/charts/librechat/templates/persistentvolumeclaim.yaml b/charts/librechat/templates/persistentvolumeclaim.yaml index e27cd0e..5e75336 100644 --- a/charts/librechat/templates/persistentvolumeclaim.yaml +++ b/charts/librechat/templates/persistentvolumeclaim.yaml @@ -5,7 +5,7 @@ metadata: name: {{ include "librechat.fullname" $ }}-images spec: accessModes: - - ReadWriteOnce + - {{ .Values.librechat.imageVolume.accessModes }} {{- if .Values.librechat.imageVolume.storageClassName }} storageClassName: {{ .Values.librechat.imageVolume.storageClassName }} {{- end }} diff --git a/charts/librechat/values.yaml b/charts/librechat/values.yaml index 3f00de4..514a881 100644 --- a/charts/librechat/values.yaml +++ b/charts/librechat/values.yaml @@ -120,6 +120,7 @@ librechat: imageVolume: enabled: true size: 10G + accessModes: ReadWriteOnce # storageClassName: # only lite RAG is supported