blob: 7792ce1b27e24d2d63efabea822a00d044fdf257 [file] [log] [blame]
# Copyright 2020-present Open Networking Foundation
# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-dashboards
labels:
grafana_dashboard: "1"
data:
{{- if and .Values.edgeServerDatasourceURL .Values.googleCloudMonitoring }}
{{ (.Files.Glob "dashboards/global*.json").AsConfig | indent 2 }}
{{- end }}
{{- if and .Values.edgeServerDatasourceURL .Values.clusterDatasources }}
{{ (.Files.Glob "dashboards/multi*.json").AsConfig | indent 2 }}
{{- end }}