From 0ac663fe58afd5c8a2587523976e5d8eebb04f29 Mon Sep 17 00:00:00 2001 From: James MacFarlane Date: Sun, 17 Jun 2018 17:56:29 +0200 Subject: [PATCH] Grafana fix extraSecretMounts (#5964) * add extraSecretMounts to main container * bump version * bump chart version --- stable/grafana/Chart.yaml | 2 +- stable/grafana/templates/deployment.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/stable/grafana/Chart.yaml b/stable/grafana/Chart.yaml index 1827f8f183..3fa337f3a2 100755 --- a/stable/grafana/Chart.yaml +++ b/stable/grafana/Chart.yaml @@ -1,5 +1,5 @@ name: grafana -version: 1.11.2 +version: 1.11.3 appVersion: 5.1.3 kubeVersion: "^1.8.0-0" description: The leading tool for querying and visualizing time series and metrics. diff --git a/stable/grafana/templates/deployment.yaml b/stable/grafana/templates/deployment.yaml index 838a5a2ac0..a578deacba 100644 --- a/stable/grafana/templates/deployment.yaml +++ b/stable/grafana/templates/deployment.yaml @@ -134,6 +134,11 @@ spec: - name: storage mountPath: "/var/lib/grafana" subPath: {{ .Values.persistence.subPath }} + {{- range .Values.extraSecretMounts }} + - name: {{ .name }} + mountPath: {{ .mountPath }} + readOnly: {{ .readOnly }} + {{- end }} ports: - name: service containerPort: {{ .Values.service.port }}