diff --git a/stable/redis/Chart.yaml b/stable/redis/Chart.yaml index b0afbeea8d..4eae2a7f1d 100644 --- a/stable/redis/Chart.yaml +++ b/stable/redis/Chart.yaml @@ -1,5 +1,5 @@ name: redis -version: 1.1.4 +version: 1.1.5 appVersion: 4.0.6 description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets. keywords: diff --git a/stable/redis/templates/deployment.yaml b/stable/redis/templates/deployment.yaml index fd5ed38369..6a205ccb2c 100644 --- a/stable/redis/templates/deployment.yaml +++ b/stable/redis/templates/deployment.yaml @@ -21,8 +21,8 @@ spec: {{- end }} spec: securityContext: - runAsUser: 1001 - fsGroup: 1001 + fsGroup: {{ .Values.securityContext.fsGroup }} + runAsUser: {{ .Values.securityContext.runAsUser }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 8 }} diff --git a/stable/redis/values.yaml b/stable/redis/values.yaml index ebbb443d2c..929f86eb2c 100644 --- a/stable/redis/values.yaml +++ b/stable/redis/values.yaml @@ -11,6 +11,11 @@ imagePullPolicy: IfNotPresent ## Kubernetes service type serviceType: ClusterIP +## Pod Security Context +securityContext: + fsGroup: 1001 + runAsUser: 1001 + ## Use password authentication usePassword: true