/
values-grafana.yaml
77 lines (69 loc) · 1.72 KB
/
values-grafana.yaml
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Avoid creating a bunch of RBAC rules for features we are not enabling
rbac:
create: false
pspEnabled: false
# Disable test pods
testFramework:
enabled: false
podLabels:
sidecar.istio.io/inject: "false"
# Demo only, so we will have no authentication
admin:
existingSecret: ""
ldap:
existingSecret: true
env:
GF_SECURITY_ADMIN_USER: "admin"
GF_SECURITY_ADMIN_PASSWORD: "admin"
GF_AUTH_BASIC_ENABLED: "false"
GF_AUTH_ANONYMOUS_ENABLED: "true"
GF_AUTH_ANONYMOUS_ORG_ROLE: Admin
# Expose on port 3000 to match the Istio docs
service:
port: 3000
securityContext: null
# Set up out dashboards
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: "istio"
orgId: 1
folder: "istio"
type: file
disableDeletion: false
options:
path: /var/lib/grafana/dashboards/istio
- name: "istio-services"
orgId: 1
folder: "istio"
type: file
disableDeletion: false
options:
path: /var/lib/grafana/dashboards/istio-services
dashboardsConfigMaps:
istio: "istio-grafana-dashboards"
istio-services: "istio-services-grafana-dashboards"
# Configure the prometheus data source. We expect prometheus:9090 in the same namespace
datasources:
datasources.yaml:
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
orgId: 1
url: http://prometheus:9090
access: proxy
isDefault: true
jsonData:
timeInterval: 5s
editable: true
- name: Loki
type: loki
orgId: 1
url: http://loki:3100
access: proxy
isDefault: false
jsonData:
timeInterval: 5s
editable: true