#193 fix Redis security context (user id)
This commit is contained in:
@@ -18,7 +18,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: redis
|
- name: redis
|
||||||
image: redis:3.2-alpine
|
image: redis:5-alpine
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 6379
|
- containerPort: 6379
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
@@ -35,4 +35,5 @@ spec:
|
|||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
runAsUser: 1000
|
# we need to use the "redis" uid
|
||||||
|
runAsUser: 100
|
||||||
|
|||||||
Reference in New Issue
Block a user