This document describes how to create data sources.
Data sources are represented by the GrafanaDataSource
custom resource. Examples can be found in deploy/examples/datasources
.
A single GrafanaDataSource
resource can contain a list of data sources.
The following properties are accepted in the spec
:
- name: The filename of the data source that gets mounted into a volume in the grafana instance. Not to be confused with
metadata.name
. - datasources: A list of data source definitions. Check the official documentation.
A data source accepts all properties listed here, but does not support apiVersion
and deleteDatasources
.