apiVersion: v1
kind: ConfigMap
metadata:
  labels:
    app: grafana
  name: grafana-datasources-provider
data:
  providers.yaml: |
    apiVersion: 1
    datasources:
    - name: 'InfluxDB'
      type: influxdb
      access: proxy
      orgId: 1
      url: http://influxdb:8086
      database: kpi-db
      isDefault: true
      editable: false
      user: admin
      password: admin2021