apiVersion: v1
kind: ConfigMap
metadata:
  name: kube-prometheus-stack-grafana
  namespace: freeleaps-monitoring-system
  labels:
    app.kubernetes.io/instance: kube-prometheus-stack
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: grafana
    app.kubernetes.io/version: 11.5.2
    helm.sh/chart: grafana-8.10.1
  annotations:
    meta.helm.sh/release-name: kube-prometheus-stack
    meta.helm.sh/release-namespace: default
data:
  grafana.ini: |
    [analytics]
    check_for_updates = true
    [grafana_net]
    url = https://grafana.net
    [log]
    mode = console
    [paths]
    data = /var/lib/grafana/
    logs = /var/log/grafana
    plugins = /var/lib/grafana/plugins
    provisioning = /etc/grafana/provisioning
    [server]
    root_url = https://grafana.mathmast.com
    [auth.azuread]
    enabled = true
    client_id = 7af1f0f9-6659-42b3-988b-d5593ed89501
    client_secret = UNZ8Q~AxHwavaPqJMXMhvZEh-h0lyvVJiistubcw
    auth_url = https://login.microsoftonline.com/cf151ee8-5c2c-4fe7-a1c4-809ba43c9f24/oauth2/v2.0/authorize
    token_url = https://login.microsoftonline.com/cf151ee8-5c2c-4fe7-a1c4-809ba43c9f24/oauth2/v2.0/token
    scopes = openid profile email
    api_url = https://grafana.mathmast.com
    name = "MATHMAST AD"