3e131a9e0f
Change-Id: 2995f983d09241299ccb7947a2df281aec8977a1 Signed-off-by: Klaus Erber <k.erber@erber-freelance.de> Signed-off-by: Martin Müller <martin.mueller@dataport.de> Signed-off-by: genofire <geno+dev@fireorbit.de>
14 lines
457 B
YAML
14 lines
457 B
YAML
{{- if .Values.grafana.dashboards.enabled }}
|
|
{{- range $path, $bytes := .Files.Glob "grafana_dashboards/*" }}
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "collabora-online.fullname" $ }}-grafana-dashboards-{{ base $path }}
|
|
labels:
|
|
{{- include "collabora-online.labels" $ | nindent 4 }}
|
|
{{- toYaml $.Values.grafana.dashboards.labels | nindent 4 }}
|
|
data:
|
|
{{- ($.Files.Glob $path ).AsConfig | nindent 2 }}
|
|
{{- end }}
|
|
{{- end }}
|