kube/redis: fix /data partition permissions

This has been encountered when introducing redis in our production
matrix deployment. /data partition is owned by root:root by default
otherwise.

Change-Id: Ic148ff25837c6e8da394a5124556481343ea2873
changes/03/703/1
informatic 2021-01-31 20:07:29 +01:00
parent babcb8017f
commit 2759eb7a54
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ local kube = import "kube.libsonnet";
}, },
securityContext: { securityContext: {
runAsUser: 100, runAsUser: 100,
runAsGroup: 101,
fsGroup: 101,
}, },
}, },
}, },