mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-10 21:19:02 +08:00
Fix: helm template redis (#7563)
### What problem does this PR solve? Fixes bug & regression introduced by [PR #7187 - refactor: Update Redis configuration to use StatefulSet instead of deployment with pvc](https://github.com/infiniflow/ragflow/pull/7187): 1. Fixes bug #7403 - `redis.persistence.enabled` missing from `helm/values.yaml` causes helm error: [ERROR] templates/: template: ragflow/templates/redis.yaml:55:24: executing "ragflow/templates/redis.yaml" at <.Values.redis.persistence.enabled>: nil pointer evaluating interface {}.enabled 2. Fixes regression: reverts hardcoded redis.storage.capacity value back to using variable `redis.storage.capacity` from `helm/values.yaml`. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) - [ ] New Feature (non-breaking change which adds functionality) - [ ] Documentation Update - [ ] Refactoring - [ ] Performance Improvement - [ ] Other (please describe):
This commit is contained in:
parent
6bd7d572ec
commit
31718581b5
@ -76,7 +76,7 @@ spec:
|
||||
{{- end }}
|
||||
resources:
|
||||
requests:
|
||||
storage: 8Gi
|
||||
storage: {{ .Values.redis.storage.capacity }}
|
||||
{{- end }}
|
||||
---
|
||||
apiVersion: v1
|
||||
|
@ -133,6 +133,8 @@ redis:
|
||||
storage:
|
||||
className:
|
||||
capacity: 5Gi
|
||||
persistence:
|
||||
enabled: true
|
||||
deployment:
|
||||
strategy:
|
||||
resources:
|
||||
|
Loading…
x
Reference in New Issue
Block a user