This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16.8k
/
Copy pathvalues.yaml
328 lines (274 loc) · 7.67 KB
/
values.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
server:
## Grafana Pod annotations:
##
# annotations:
# iam.amazonaws.com/role: grafana
## Grafana service port
##
httpPort: 80
## Grafana Docker image
##
image: "grafana/grafana:latest"
ingress:
## If true, Grafana Ingress will be created
##
enabled: false
## Grafana Ingress annotations
##
# annotations:
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: 'true'
## Grafana Ingress hostnames
## Must be provided if Ingress is enabled
##
# hosts:
# - grafana.domain.com
## Grafana Ingress TLS configuration
## Secrets must be manually created in the namespace
##
# tls:
# - secretName: grafana-server-tls
# hosts:
# - grafana.domain.com
## Grafana container name
##
name: grafana
adminUser: "admin"
# adminPassword: "admin"
## Global imagePullPolicy
## Default: 'Always' if image tag is 'latest', else 'IfNotPresent'
## Ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
##
# imagePullPolicy:
# Persist data to a persitent volume
persistentVolume:
## If true, Grafana will create a Persistent Volume Claim
## If false, use emptyDir
##
enabled: true
## Grafana data Persistent Volume access modes
## Must match those of existing PV or dynamic provisioner
## Ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
##
accessModes:
- ReadWriteOnce
## Server data Persistent Volume annotations
##
# annotations:
## Grafana data Persistent Volume size
## Default: 1Gi
##
size: 1Gi
## Data Persistent Volume Storage Class
## If defined, volume.beta.kubernetes.io/storage-class: <storageClass>
## Default: volume.alpha.kubernetes.io/storage-class: default
##
# storageClass:
## Grafana resource requests and limits
## Ref: http://kubernetes.io/docs/user-guide/compute-resources/
##
resources:
# limits:
# cpu: 500m
# memory: 512Mi
requests:
cpu: 100m
memory: 100Mi
## Grafana service type
##
serviceType: ClusterIP
## Grafana local config path
## Default '/etc/grafana'
##
# configLocalPath: /etc/grafana
## Grafana local dashboards path
## Default: '/var/lib/grafana/dashboards'
##
# dashboardLocalPath: /var/lib/grafana/dashboards
## Grafana local data storage path
## Default: '/var/lib/grafana/data'
##
# storageLocalPath: /var/lib/grafana/data
## Grafana Pod termination grace period
## Default: 300s (5m)
##
# terminationGracePeriodSeconds: 300
# Set datasource in beginning
setDatasource:
## If true, an initial Grafana Datasource will be set
## Default: false
##
enabled: false
## How long should it take to commit failure
## Default: 300
##
# activeDeadlineSeconds: 300
## Curl Docker image
## Default: appropriate/curl:latest
##
# image: appropriate/curl:latest
## This assembles how curl post into Grafana
## Ref1: http://docs.grafana.org/reference/http_api/#create-data-source
## Ref2: https://github.com/grafana/grafana/issues/1789
##
# datasource:
## The datasource name.
## Default: default
# name: default
## Type of datasource
## Default: prometheus
##
# type: prometheus
## The url of the datasource. To set correctly you need to know
## the right datasource name and its port ahead. Check kubernetes
## dashboard or describe the service should fulfill the requirements.
## Synatx like `http://<release name>-<server name>:<port number>
## Default: "http://limping-tiger-server"
##
# url: "http://limping-tiger-server"
## Specify if Grafana has to go thru proxy to reach datasource
## Default: proxy
##
# access: proxy
## Specify should Grafana use this datasource as default
## Default: true
##
# isDefault: true
## Specify the job policy
## Default: OnFailure
##
# restartPolicy: OnFailure
## Grafana config file ConfigMap entry
##
serverConfigFile:
grafana.ini: |
; instance_name = ${HOSTNAME}
[paths]
data = /var/lib/grafana/data
logs = /var/log/grafana
plugins = /var/lib/grafana/plugins
[server]
;protocol = http
;http_addr =
;http_port = 3000
;domain = localhost
;enforce_domain = false
;root_url = %(protocol)s://%(domain)s:%(http_port)s/
;router_logging = false
;static_root_path = public
;enable_gzip = false
;cert_file =
;cert_key =
[database]
;type = sqlite3
;host = 127.0.0.1:3306
;name = grafana
;user = root
;password =
;ssl_mode = disable
;path = grafana.db
[session]
;provider = file
;provider_config = sessions
;cookie_name = grafana_sess
;cookie_secure = false
;session_life_time = 86400
[analytics]
;reporting_enabled = true
check_for_updates = true
;google_analytics_ua_id =
[security]
;admin_user = admin
;admin_password = admin
;secret_key = SW2YcwTIb9zpOOhoPsMm
;login_remember_days = 7
;cookie_username = grafana_user
;cookie_remember_name = grafana_remember
;disable_gravatar = false
;data_source_proxy_whitelist =
[snapshots]
;external_enabled = true
;external_snapshot_url = https://snapshots-origin.raintank.io
;external_snapshot_name = Publish to snapshot.raintank.io
[users]
;allow_sign_up = true
;allow_org_create = true
;auto_assign_org = true
;auto_assign_org_role = Viewer
;login_hint = email or username
;default_theme = dark
[auth.anonymous]
;enabled = false
;org_name = Main Org.
;org_role = Viewer
[auth.github]
;enabled = false
;allow_sign_up = false
;client_id = some_id
;client_secret = some_secret
;scopes = user:email,read:org
;auth_url = https://github.com/login/oauth/authorize
;token_url = https://github.com/login/oauth/access_token
;api_url = https://api.github.com/user
;team_ids =
;allowed_organizations =
[auth.google]
;enabled = false
;allow_sign_up = false
;client_id = some_client_id
;client_secret = some_client_secret
;scopes = https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email
;auth_url = https://accounts.google.com/o/oauth2/auth
;token_url = https://accounts.google.com/o/oauth2/token
;api_url = https://www.googleapis.com/oauth2/v1/userinfo
;allowed_domains =
[auth.proxy]
;enabled = false
;header_name = X-WEBAUTH-USER
;header_property = username
;auto_sign_up = true
[auth.basic]
;enabled = true
[auth.ldap]
;enabled = false
;config_file = /etc/grafana/ldap.toml
[smtp]
;enabled = false
;host = localhost:25
;user =
;password =
;cert_file =
;key_file =
;skip_verify = false
;from_address = [email protected]
[emails]
;welcome_email_on_sign_up = false
[log]
mode = console
level = info
[log.console]
;level =
;format = console
[event_publisher]
;enabled = false
;rabbitmq_url = amqp://localhost/
;exchange = grafana_events
[dashboards.json]
enabled = true
path = /var/lib/grafana/dashboards
[metrics]
;enabled = true
;interval_seconds = 10
; [metrics.graphite]
; address = localhost:2003
; prefix = prod.grafana.%(instance_name)s.
[grafana_net]
url = https://grafana.net
## Grafana dashboard files ConfigMap entries
## If you'd like to preinstall prometheus dashboard on the same namespace as example, get it from:
##
## https://grafana.net/dashboards/2
##
## and add it below.
##
serverDashboardFiles: {}