Code Review
/
demo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
DAaaS: Fixing dashborad provisioning
[demo.git]
/
vnfs
/
DAaaS
/
deploy
/
visualization
/
charts
/
grafana
/
templates
/
dashboards-json-configmap.yaml
diff --git
a/vnfs/DAaaS/deploy/visualization/charts/grafana/templates/dashboards-json-configmap.yaml
b/vnfs/DAaaS/deploy/visualization/charts/grafana/templates/dashboards-json-configmap.yaml
index
bd46add
..
5af0f69
100755
(executable)
--- a/
vnfs/DAaaS/deploy/visualization/charts/grafana/templates/dashboards-json-configmap.yaml
+++ b/
vnfs/DAaaS/deploy/visualization/charts/grafana/templates/dashboards-json-configmap.yaml
@@
-15,8
+15,9
@@
metadata:
data:
{{- range $key, $value := $dashboards }}
{{- if (or (hasKey $value "json") (hasKey $value "file")) }}
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" }}
{{- if hasKey $value "json" }}
+ |-
{{ $value.json | indent 4 }}
{{- end }}
{{- if hasKey $value "file" }}
{{ $value.json | indent 4 }}
{{- end }}
{{- if hasKey $value "file" }}