#193 fix Redis security context (user id)

This commit is contained in:
Henning Jacobs
2019-01-11 23:14:28 +01:00
parent 5a1fa0f1c4
commit a169563d7d

View File

@@ -18,7 +18,7 @@ spec:
spec:
containers:
- name: redis
image: redis:3.2-alpine
image: redis:5-alpine
ports:
- containerPort: 6379
protocol: TCP
@@ -35,4 +35,5 @@ spec:
securityContext:
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000
# we need to use the "redis" uid
runAsUser: 100