diff --git a/helm/templates/redis.yaml b/helm/templates/redis.yaml index ef1e1b352..ece84504e 100644 --- a/helm/templates/redis.yaml +++ b/helm/templates/redis.yaml @@ -7,6 +7,9 @@ metadata: {{- include "ragflow.labels" . | nindent 4 }} app.kubernetes.io/component: redis spec: + {{- with .Values.redis.storage.className }} + storageClassName: {{ . }} + {{- end }} accessModes: - ReadWriteOnce resources: