From 6e855078ec0437a123b83f736046a84a682cff9f Mon Sep 17 00:00:00 2001 From: Nicolas Lamirault Date: Tue, 21 Jan 2025 07:17:26 +0100 Subject: [PATCH] fix(helm): use root variable Signed-off-by: Nicolas Lamirault --- .../templates/grafana-dashboards-configmap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/greptimedb-cluster/templates/grafana-dashboards-configmap.yaml b/charts/greptimedb-cluster/templates/grafana-dashboards-configmap.yaml index 48c2616..4631a35 100644 --- a/charts/greptimedb-cluster/templates/grafana-dashboards-configmap.yaml +++ b/charts/greptimedb-cluster/templates/grafana-dashboards-configmap.yaml @@ -7,7 +7,7 @@ metadata: name: {{ $value }} namespace: {{ $root.Release.Namespace }} labels: - {{- include "greptimedb-cluster.labels" . | nindent 4 }} + {{- include "greptimedb-cluster.labels" $root | nindent 4 }} data: {{ $key }}.json: |- {{ $root.Files.Get (printf "dashboards/%s.json" $key) | indent 4 }}