From 2930ee57f0b74509241db56ebdb32276f282f6d7 Mon Sep 17 00:00:00 2001 From: david-maumenee Date: Thu, 13 Dec 2018 10:10:48 +0100 Subject: [PATCH] [stable/metricbeat] fix extraVolumes usage in deployment.yaml (#9937) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix https://github.com/helm/charts/issues/9547 on stable/metricbeat/templates/deployment.yaml Signed-off-by: David Maumenée * [stable/metricbeat] add a blank line in the end as requested by cpanato Signed-off-by: David Maumenée * [stable/metricbeat] bump the chart version to 0.4.1 Signed-off-by: David Maumenée --- stable/metricbeat/Chart.yaml | 2 +- stable/metricbeat/templates/deployment.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/stable/metricbeat/Chart.yaml b/stable/metricbeat/Chart.yaml index ab8f1f5573..d3d088fe4f 100644 --- a/stable/metricbeat/Chart.yaml +++ b/stable/metricbeat/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 description: A Helm chart to collect Kubernetes logs with metricbeat icon: https://www.elastic.co/assets/blt47799dcdcf08438d/logo-elastic-beats-lt.svg name: metricbeat -version: 0.4.0 +version: 0.4.1 appVersion: 6.5.1 home: https://www.elastic.co/products/beats/metricbeat sources: diff --git a/stable/metricbeat/templates/deployment.yaml b/stable/metricbeat/templates/deployment.yaml index fd85d4acaf..55061925f3 100644 --- a/stable/metricbeat/templates/deployment.yaml +++ b/stable/metricbeat/templates/deployment.yaml @@ -76,3 +76,6 @@ spec: - name: modules secret: secretName: {{ template "metricbeat.fullname" . }}-deployment-modules +{{- if .Values.extraVolumes }} +{{ toYaml .Values.extraVolumes | indent 6 }} +{{- end }}