[stable/curator] - configure pod security context (#11696)

Signed-off-by: Maxime VISONNEAU <maxime.visonneau@gmail.com>
This commit is contained in:
Maxime VISONNEAU
2019-04-02 02:12:34 -07:00
committed by Kubernetes Prow Robot
parent eda0d61981
commit e460f2b99b
4 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "5.5.4"
description: A Helm chart for Elasticsearch Curator
name: elasticsearch-curator
version: 1.3.1
version: 1.3.2
home: https://github.com/elastic/curator
keywords:
- curator
+1 -1
View File
@@ -52,6 +52,6 @@ their default values.
| `priorityClassName` | priorityClassName | `nil` |
| `extraVolumeMounts` | Mount extra volume(s), | |
| `extraVolumes` | Extra volumes | |
| `securityContext` | Configure PodSecurityContext |
Specify each parameter using the `--set key=value[,key=value]` argument to
`helm install`.
@@ -100,5 +100,9 @@ spec:
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | indent 12 }}
{{- end }}
{{- with .Values.securityContext }}
securityContext:
{{ toYaml . | indent 12 }}
{{- end }}
+3
View File
@@ -100,3 +100,6 @@ priorityClassName: ""
# - name: es-certs
# mountPath: /certs
# readOnly: true
securityContext:
runAsUser: 16 # run as cron user instead of root