about summary refs log tree commit diff
path: root/tools/grafana/values.yaml
blob: eb89b0126f3f94f263406ba7408d09f0c8c5825e (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
global:
  namespace: monitoring

grafana:
  extraSecretMounts:
    - name: es-creds
      mountPath: /etc/grafana/es-creds
      secretName: log-storage-es-elastic-user
  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
          basicAuthUser: elastic
          basicAuthPassword: /etc/grafana/es-creds/password
          jsonData:
            esVersion: 70
            tlsSkipVerify: true