apiVersion: v1
kind: ConfigMap
metadata:
  name: loki-loki-stack
  namespace: loki
  labels:
    app: loki-stack
    grafana_datasource: "1"
data:
  loki-stack-datasource.yaml: |-
    apiVersion: 1
    datasources:
    - name: Loki
      type: loki
      access: proxy
      url: http://loki:3100
      version: 1