fix: #404 - Change Redis image to run as non-root user (#405)

* fix: #404 - Set Security Context for Redis Pod

* Separate Container and Pod Security Context for Redis

* Bump Chart Version

* Syntax fix

* Also set Group in Redis Security Context
This commit is contained in:
Frederik Weber 2020-07-15 19:18:47 +02:00 committed by GitHub
parent bc78e3cbe1
commit 9b80bd95e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 3 deletions

View file

@ -277,6 +277,12 @@ redis:
# drop:
# - all
## Redis Pod specific security context
securityContext:
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
runAsNonRoot: true
resources: {}
# limits: