apiVersion: v1
kind: ConfigMap
metadata:
  name: grafana-datasources
  namespace: observatorium
data:
  prometheus.yaml: |-
    {
        "apiVersion": 1,
        "datasources": [
            {
               "access":"proxy",
                "editable": true,
                "name": "observatorium",
                "orgId": 1,
                "type": "prometheus",
                "url": "http://observatorium-xyz-observatorium-api-gateway.observatorium.svc.cluster.local:8080/api/metrics/v1",
                "version": 1
            }
        ]
    }
