blob: 8268d6812141281a0e033b6e1978a47156d6d279 [file] [log] [blame]
# SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org>
#
# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-datasources-templated
namespace: {{ .Release.Namespace }}
labels:
chronos_datasource: "chronos-datasource"
data:
prom-datasources.yaml: |
apiVersion: 1
datasources:
{{- range .Values.grafana.source }}
- name: datasource-{{ .name }}
url: {{ .protocol }}://{{ .service }}:{{ .port }}
type: prometheus
access: proxy
jsonData:
oauthPassThru: true
{{- end }}