From e293eabc93567de4484694698561314a2dd2ca74 Mon Sep 17 00:00:00 2001 From: Yves Galante Date: Tue, 16 Jan 2024 15:08:19 +0100 Subject: [PATCH] feat(grafana): Allow to customize empty dir Signed-off-by: Yves Galante --- charts/grafana/Chart.yaml | 2 +- charts/grafana/templates/_pod.tpl | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/grafana/Chart.yaml b/charts/grafana/Chart.yaml index f291cf68bd..1eaa40b3a6 100644 --- a/charts/grafana/Chart.yaml +++ b/charts/grafana/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: grafana -version: 7.2.2 +version: 7.2.3 appVersion: 10.2.3 kubeVersion: "^1.8.0-0" description: The leading tool for querying and visualizing time series and metrics. diff --git a/charts/grafana/templates/_pod.tpl b/charts/grafana/templates/_pod.tpl index c91d22f978..65276ab58a 100644 --- a/charts/grafana/templates/_pod.tpl +++ b/charts/grafana/templates/_pod.tpl @@ -1273,6 +1273,9 @@ volumes: {{- else if .configMap }} configMap: {{- toYaml .configMap | nindent 6 }} + {{- else if .emptyDir }} + emptyDir: + {{- toYaml .emptyDir | nindent 6 }} {{- else }} emptyDir: {} {{- end }}