Skip to content
This repository was archived by the owner on Oct 3, 2020. It is now read-only.

Commit a169563

Browse files
committed
#193 fix Redis security context (user id)
1 parent 5a1fa0f commit a169563

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

deploy/redis-deployment.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
spec:
1919
containers:
2020
- name: redis
21-
image: redis:3.2-alpine
21+
image: redis:5-alpine
2222
ports:
2323
- containerPort: 6379
2424
protocol: TCP
@@ -35,4 +35,5 @@ spec:
3535
securityContext:
3636
readOnlyRootFilesystem: true
3737
runAsNonRoot: true
38-
runAsUser: 1000
38+
# we need to use the "redis" uid
39+
runAsUser: 100

0 commit comments

Comments
 (0)