mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/curator] - configure pod security context (#11696)
Signed-off-by: Maxime VISONNEAU <maxime.visonneau@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
eda0d61981
commit
e460f2b99b
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -100,3 +100,6 @@ priorityClassName: ""
|
||||
# - name: es-certs
|
||||
# mountPath: /certs
|
||||
# readOnly: true
|
||||
|
||||
securityContext:
|
||||
runAsUser: 16 # run as cron user instead of root
|
||||
|
||||
Reference in New Issue
Block a user