adminUser: admin
adminPassword: "${GRAFANA_ADMIN_PASSWORD}"

initChownData:
  enabled: false

persistence:
  enabled: true
  size: 10Gi
  storageClassName: ""

service:
  type: ClusterIP

ingress:
  enabled: true
  ingressClassName: traefik
  annotations:
    cert-manager.io/cluster-issuer: "${GRAFANA_CLUSTER_ISSUER}"
  hosts:
    - "${LOGS_HOST}"
  tls:
    - hosts:
        - "${LOGS_HOST}"
      secretName: grafana-logs-tls

datasources:
  datasources.yaml:
    apiVersion: 1
    datasources:
      - name: Loki
        type: loki
        access: proxy
        url: http://loki.logging.svc.cluster.local:3100
        isDefault: true
        jsonData:
          timeout: 60
          maxLines: 5000

grafana.ini:
  server:
    root_url: https://${LOGS_HOST}
  analytics:
    reporting_enabled: false
    check_for_updates: false
