about summary refs log tree commit diff
path: root/tools/grafana/values.yaml
blob: e3f9cc6b8079cb5f4c252473d7f8d704f9678fce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
global:
  namespace: monitoring

grafana:
  extraSecretMounts:
    - name: es-certs
      mountPath: /etc/grafana/es-certs
      secretName: log-storage-es-http-certs-public
  extraLabels:
    elasticsearch-master-http-client: "true"
  service:
    labels:
      elasticsearch-master-http-client: "true"
      app.kubernetes.io/name: grafana
  ingress:
    labels:
      elasticsearch-master-http-client: "true"
    enabled: true
    annotations:
      traefik.ingress.kubernetes.io/router.entrypoints: websecure
      traefik.ingress.kubernetes.io/router.tls: "true"
      traefik.ingress.kubernetes.io/router.tls.certresolver: "default"
      traefik.ingress.kubernetes.io/redirect-entry-point: https
      cert-manager.io/cluster-issuer: letsencrypt-prod
    hosts:
      - grafana.topkek.cloud
    path: /
    tls:
      - hosts:
          - grafana.topkek.cloud
        secretName: grafana-tls
  persistence:
    enabled: true
    type: pvc
    accessModes:
      - ReadWriteOnce
    size: 10Gi
    finalizers:
      - kubernetes.io/pvc-protection
  datasources:
    datasources.yaml:
      apiVersion: 1
      datasources:
        - name: Prometheus
          type: prometheus
          access: proxy
          url: http://prometheus-server.monitoring.svc.cluster.local
          isDefault: true
        - name: Elasticsearch
          type: elasticsearch
          url: https://log-storage-es-http.monitoring.svc.cluster.local:9200
          access: proxy
          jsonData:
            timeField: "@timestamp"
            esVersion: 70
            tlsAuth: true
            tlsClientCert: "/etc/grafana/es-certs/tls.crt"
            tlsCaCert: "/etc/grafana/es-certs/ca.crt"