apiVersion: v1
kind: ConfigMap
metadata:
  name: grafana-datasources
  #labels:
  #  io.kompose.service: grafana
  #namespace: monitoring
data:
  datasources.yaml: |
    {
      "apiVersion": 1,
      "datasources": [
        {
          "access": "proxy",
          "editable": true,
          "name": "prometheus",
          "orgId": 1,
          "type": "prometheus",
          "url": "http://prometheus:9090",
          "version": 1
        }
      ]
    }