Runs tpl on dashboardsConfigMaps (#10670)

Signed-off-by: Valdis Rigdon <valdis.rigdon@appian.com>
This commit is contained in:
Valdis Rigdon
2019-01-21 20:21:28 -08:00
committed by Kubernetes Prow Robot
parent bb5b5ab85c
commit cfa4c77e77
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: grafana
version: 1.25.1
version: 1.25.2
appVersion: 5.4.3
kubeVersion: "^1.8.0-0"
description: The leading tool for querying and visualizing time series and metrics.
+2 -1
View File
@@ -276,10 +276,11 @@ spec:
{{- end }}
{{- end }}
{{- if .Values.dashboardsConfigMaps }}
{{ $root := . }}
{{- range $provider, $name := .Values.dashboardsConfigMaps }}
- name: dashboards-{{ $provider }}
configMap:
name: {{ $name }}
name: {{ tpl $name $root }}
{{- end }}
{{- end }}
{{- if not .Values.admin.existingSecret }}