From e8f46c92076a58e77f1518cb4c1b5059dcd39bd7 Mon Sep 17 00:00:00 2001 From: zunceng Date: Thu, 3 Apr 2025 16:55:47 +0800 Subject: [PATCH] Fix: missing redis pvc storageclass in helm (#6788) fix redis pvc in helm deployment ### What problem does this PR solve? _Briefly describe what this PR aims to solve. Include background context that will help reviewers understand the purpose of the PR._ ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- helm/templates/redis.yaml | 3 +++ 1 file changed, 3 insertions(+) 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: