From e9d2884e81a9b6f398e1ff9f48eb9ca330a3d9a4 Mon Sep 17 00:00:00 2001 From: Xingdong Li Date: Tue, 6 Aug 2024 11:47:16 +0800 Subject: [PATCH] Change appendonly config for redis (#387) --- packages/helm/symphony/templates/redis-configmap.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/helm/symphony/templates/redis-configmap.yaml b/packages/helm/symphony/templates/redis-configmap.yaml index 4009d0636..d4d8e449e 100644 --- a/packages/helm/symphony/templates/redis-configmap.yaml +++ b/packages/helm/symphony/templates/redis-configmap.yaml @@ -6,8 +6,10 @@ data: redis.conf: | protected-mode {{ include "symphony.protectedMode" . }} port {{ .Values.redis.port }} +{{- if .Values.redis.persistentVolume.enabled }} appendonly yes appendfsync always dir data appenddirname appendonlydir +{{- end }}