mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
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:
committed by
Michael Goodness
parent
7f6c719875
commit
0243aaecaf
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user