mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Fixing multiline indicator usage that was broken by PR #11997 that prevented custom prebuilt dashboards to be loaded from file on helm install. Signed-off-by: Jannis Oeltjen <oss@jcoeltjen.de>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
12dfbf4d61
commit
f517c94d94
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: grafana
|
||||
version: 2.3.4
|
||||
version: 2.3.5
|
||||
appVersion: 6.0.2
|
||||
kubeVersion: "^1.8.0-0"
|
||||
description: The leading tool for querying and visualizing time series and metrics.
|
||||
|
||||
@@ -15,9 +15,10 @@ metadata:
|
||||
data:
|
||||
{{- range $key, $value := $dashboards }}
|
||||
{{- if (or (hasKey $value "json") (hasKey $value "file")) }}
|
||||
{{ print $key | indent 2 }}.json: |-
|
||||
{{ print $key | indent 2 }}.json:
|
||||
{{- if hasKey $value "json" }}
|
||||
{{ $value.json | indent 4 }}
|
||||
|-
|
||||
{{ $value.json | indent 6 }}
|
||||
{{- end }}
|
||||
{{- if hasKey $value "file" }}
|
||||
{{ toYaml ( $files.Get $value.file ) | indent 4}}
|
||||
|
||||
Reference in New Issue
Block a user