# 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: | |
{{- range .Values.dashboards }} | |
{{- $dashboard := printf "dashboards/%s" . }} | |
{{ ($.Files.Glob $dashboard).AsConfig | indent 2 }} | |
{{- end}} |