diff --git a/stable/grafana/Chart.yaml b/stable/grafana/Chart.yaml index 5c56a0bb06..0dd626bc13 100755 --- a/stable/grafana/Chart.yaml +++ b/stable/grafana/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: grafana -version: 3.5.5 +version: 3.5.6 appVersion: 6.2.4 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 0080dea8e6..081907b0cf 100644 --- a/stable/grafana/templates/deployment.yaml +++ b/stable/grafana/templates/deployment.yaml @@ -75,7 +75,8 @@ spec: - name: download-dashboards image: "{{ .Values.downloadDashboardsImage.repository }}:{{ .Values.downloadDashboardsImage.tag }}" imagePullPolicy: {{ .Values.downloadDashboardsImage.pullPolicy }} - command: ["sh", "/etc/grafana/download_dashboards.sh"] + "command": ["/bin/sh"], + "args": [ "-c", "mkdir -p /var/lib/grafana/dashboards/default", "/etc/grafana/download_dashboards.sh" ], volumeMounts: - name: config mountPath: "/etc/grafana/download_dashboards.sh"