More sane default for Grafana storage-volume PVC (#2076)

* More sane default for Grafana storage-volume PVC

Mounting the `storage-volume` persistentVolumeClaim to `/var/lib/grafana/data` by default causes plugins installed via `grafana-cli` to disappear on pod termination. While this can be avoided by overriding `.Values.server.storageLocalPath` to `/var/lib/grafana`, it makes more sense to me to have that as the default so that the out-of-the-box experience is one of full persistence.

* Bump chart version
This commit is contained in:
Cody Boggs
2017-09-10 14:42:25 -05:00
committed by Michael Goodness
parent 7f6c719875
commit 0243aaecaf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: grafana
version: 0.4.5
version: 0.5.0
description: The leading tool for querying and visualizing time series and metrics.
home: https://grafana.net
icon: https://raw.githubusercontent.com/grafana/grafana/master/public/img/logo_transparent_400x.png
+1 -1
View File
@@ -67,7 +67,7 @@ spec:
- name: dashboard-volume
mountPath: {{ default "/var/lib/grafana/dashboards" .Values.server.dashboardLocalPath | quote }}
- name: storage-volume
mountPath: {{ default "/var/lib/grafana/data" .Values.server.storageLocalPath | quote }}
mountPath: {{ default "/var/lib/grafana" .Values.server.storageLocalPath | quote }}
subPath: "{{ .Values.server.persistentVolume.subPath }}"
terminationGracePeriodSeconds: {{ default 300 .Values.server.terminationGracePeriodSeconds }}
volumes: