---
# Copyright 2019-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: v1
kind: ConfigMap
metadata:
  name: grafana-dashboards
  labels:
     grafana_dashboard: "1"
data:
{{- if .Values.dashboards.k8s }}
  k8s.json: |
{{ .Files.Get "grafana-dashboards/k8s-app-metrics.json" | indent 4 }}
{{- end }}
{{- if .Values.dashboards.nodeExporter }}
  node-exporter.json: |
{{ .Files.Get "grafana-dashboards/node-exporter.json" | indent 4 }}
{{- end }}
{{- if .Values.dashboards.xos }}
  xos.json: |
{{ .Files.Get "grafana-dashboards/xos.json" | indent 4 }}
{{- end }}
{{- if .Values.dashboards.onos }}
  onos.json: |
{{ .Files.Get "grafana-dashboards/onos-kpi.json" | indent 4 }}
{{- end }}
{{- if .Values.dashboards.aaa }}
  aaa.json: |
{{ .Files.Get "grafana-dashboards/aaa-stats.json" | indent 4 }}
{{- end }}
{{- if .Values.dashboards.voltha }}
  voltha.json: |
{{ .Files.Get "grafana-dashboards/voltha-kpi.json" | indent 4 }}
{{- end }}
{{- if .Values.dashboards.voltha2 }}
  voltha2.json: |
{{ .Files.Get "grafana-dashboards/voltha-2x.json" | indent 4 }}
{{- end }}
{{- if .Values.dashboards.omec }}
  omec.json: |
{{ .Files.Get "grafana-dashboards/omec.json" | indent 4 }}
{{- end }}
{{- if .Values.dashboards.aetherClusters }}
  aether-clusters.json: |
{{ .Files.Get "grafana-dashboards/aether-clusters.json" | indent 4 }}
{{- end }}
{{- if .Values.dashboards.aetherEdges }}
  aether-edges.json: |
{{ .Files.Get "grafana-dashboards/aether-edges.json" | indent 4 }}
{{- end }}
{{- if .Values.dashboards.aetherCentralPods }}
  aether-central-pods.json: |
{{ .Files.Get "grafana-dashboards/aether-central-pods.json" | indent 4 }}
{{- end }}
{{- if .Values.dashboards.aetherEdgePods }}
  aether-edge-pods.json: |
{{ .Files.Get "grafana-dashboards/aether-edge-pods.json" | indent 4 }}
{{- end }}
