mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
k8s-ci-robot
parent
0177dae9da
commit
5560358408
@@ -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:
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -11,6 +11,11 @@ imagePullPolicy: IfNotPresent
|
||||
## Kubernetes service type
|
||||
serviceType: ClusterIP
|
||||
|
||||
## Pod Security Context
|
||||
securityContext:
|
||||
fsGroup: 1001
|
||||
runAsUser: 1001
|
||||
|
||||
## Use password authentication
|
||||
usePassword: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user