From 184cc74b4d6f0d47911eaf586c48a19957768fd0 Mon Sep 17 00:00:00 2001 From: serversidehannes Date: Fri, 12 Jun 2026 14:09:48 +0200 Subject: [PATCH] fix(chart): set fsGroup on Redis pod for PVC write access Redis runs as UID 999 but PVC mounts arrive root-owned, causing RDB background saves to fail with permission denied and leaving the pod NotReady when persistence is enabled. Co-authored-by: Cursor --- chart/templates/redis/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chart/templates/redis/deployment.yaml b/chart/templates/redis/deployment.yaml index 39e5cad..6b9392e 100644 --- a/chart/templates/redis/deployment.yaml +++ b/chart/templates/redis/deployment.yaml @@ -20,6 +20,8 @@ spec: {{- include "s3proxy.labels" . | nindent 8 }} app.kubernetes.io/component: redis spec: + securityContext: + fsGroup: 999 containers: - name: redis image: "{{ .Values.redis.image.repository }}:{{ .Values.redis.image.tag }}"