blob: 7792ce1b27e24d2d63efabea822a00d044fdf257 [file] [log] [blame]
Andy Bavierab75e9e2020-08-06 12:05:30 -07001# Copyright 2020-present Open Networking Foundation
2# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
3
4apiVersion: v1
5kind: ConfigMap
6metadata:
7 name: {{ .Release.Name }}-dashboards
8 labels:
9 grafana_dashboard: "1"
10data:
Andy Bavier5c91c1c2020-09-01 11:47:38 -070011{{- if and .Values.edgeServerDatasourceURL .Values.googleCloudMonitoring }}
Andy Bavierab75e9e2020-08-06 12:05:30 -070012{{ (.Files.Glob "dashboards/global*.json").AsConfig | indent 2 }}
Andy Bavier5c91c1c2020-09-01 11:47:38 -070013{{- end }}
14{{- if and .Values.edgeServerDatasourceURL .Values.clusterDatasources }}
15{{ (.Files.Glob "dashboards/multi*.json").AsConfig | indent 2 }}
16{{- end }}