logstash: Adding volumes configuration property for Logstash statefulset (#7778)

* [incubator/logstash] Adding volumes configuration property for Logstash statefulset

Signed-off-by: Charles Cantoni <charles.cantoni@gmail.com>

* [incubator/logstash] volumes property should be under spec, not spec.containers

Signed-off-by: Charles Cantoni <charles.cantoni@gmail.com>

* Updating Volumes YAML syntax to match that of others.

Signed-off-by: Charles Cantoni <charles.cantoni@gmail.com>
This commit is contained in:
CharlieC3
2018-09-20 15:33:55 -07:00
committed by k8s-ci-robot
parent 17ae65a491
commit a137f123af
4 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ description: Logstash is an open source, server-side data processing pipeline
icon: https://www.elastic.co/assets/blt86e4472872eed314/logo-elastic-logstash-lt.svg
home: https://www.elastic.co/products/logstash
name: logstash
version: 0.9.0
version: 0.9.1
appVersion: 6.4.0
sources:
- https://www.docker.elastic.co
+1
View File
@@ -100,6 +100,7 @@ The following table lists the configurable parameters of the chart and its defau
| `persistence.accessMode` | Access mode for PVCs | `ReadWriteOnce` |
| `persistence.size` | Size for PVCs | `2Gi` |
| `volumeMounts` | Volume mounts to configure for logstash container | (see `values.yaml`) |
| `volumes` | Volumes to configure for logstash container | [] |
| `terminationGracePeriodSeconds` | Duration the pod needs to terminate gracefully | `30`
| `exporter.logstash` | Prometheus logstash-exporter settings | (see `values.yaml`) |
| `exporter.logstash.enabled` | Enables Prometheus logstash-exporter | `false` |
@@ -110,6 +110,10 @@ spec:
{{ toYaml .Values.exporter.logstash.resources | indent 12 }}
{{- end }}
{{- with .Values.volumes }}
volumes:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
+11
View File
@@ -143,6 +143,17 @@ volumeMounts:
- name: pipeline
mountPath: /usr/share/logstash/pipeline
volumes: []
# - name: tls
# secret:
# secretName: logstash-tls
# - name: pipeline
# configMap:
# name: logstash-pipeline
# - name: certs
# hostPath:
# path: /tmp
exporter:
logstash:
enabled: false