From 3b909087ca774fdc9173c8f10cee20b480d20b3b Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Sat, 31 May 2025 19:17:24 -0700 Subject: [PATCH] redis security context: - mount redis volumes as redis (user/group 999) - needed to run with redis >=8.0.2 --- chart/app-templates/redis.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chart/app-templates/redis.yaml b/chart/app-templates/redis.yaml index 8d31e210a9..767e5688be 100644 --- a/chart/app-templates/redis.yaml +++ b/chart/app-templates/redis.yaml @@ -40,6 +40,11 @@ metadata: spec: hostname: {{ name }} subdomain: redis + securityContext: + runAsNonRoot: true + runAsUser: 999 + runAsGroup: 999 + fsGroup: 999 terminationGracePeriodSeconds: 10 volumes: