[stable/redis] Allow customization of securityContext fsGroup/runAsUser fields (#3209)

* [stable/redis] Allow customization of securityContext fsGroup/runAsUser fields

* [stable/redis] bump Chart version to 1.1.5
This commit is contained in:
Rodrigo Chacon
2018-01-04 23:14:11 -08:00
committed by k8s-ci-robot
parent 0177dae9da
commit 5560358408
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -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:
+2 -2
View File
@@ -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 }}
+5
View File
@@ -11,6 +11,11 @@ imagePullPolicy: IfNotPresent
## Kubernetes service type
serviceType: ClusterIP
## Pod Security Context
securityContext:
fsGroup: 1001
runAsUser: 1001
## Use password authentication
usePassword: true