forked from canonical/grafana-k8s-operator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yaml
61 lines (57 loc) · 2.54 KB
/
config.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
# Copyright 2021 Canonical Ltd.
# See LICENSE file for licensing details.
options:
log_level:
type: string
description: |
Logging level for Grafana. Options are “debug”, “info”,
“warn”, “error”, and “critical”.
default: info
admin_user:
description: The Grafana administrative user
type: string
default: admin
web_external_url:
description: |
The URL under which Grafana is externally reachable (for example,
if Grafana is served via a reverse proxy).
Used for generating relative and absolute links back to
Grafana itself. If the URL has a path portion, it will be used to
prefix all HTTP endpoints served by Grafana.
If omitted, relevant URL components will be derived automatically.
If provided, this should be a complete URI, including scheme, or a
fully qualified subpath starting with `/`.
If Grafana is being served directly from the root of a fully-qualified
host or a bare A record, this may be omitted.
type: string
default: ""
enable_auto_assign_org:
description: |
Set to true to automatically add new users to the main organization (id 1). When set to
false, new users automatically cause a new organization to be created for that new user.
type: boolean
default: true
datasource_query_timeout:
description: |
The default timeout for querying a Grafana datasource. Each datasource can
also configure its own preferred timeout value through relation data. If the
value configured through relation data is larger than datasource_query_timeout
then that value is left unchanged. The value of this configuration option must
be a positive integer representing the maximum number of seconds Grafana will
wait for a datasource to respond to a query.
type: int
default: 300
cpu:
description: |
K8s cpu resource limit, e.g. "1" or "500m". Default is unset (no limit). This value is used
for the "limits" portion of the resource requirements (the "requests" portion is
automatically deduced from it).
See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
type: string
memory:
description: |
K8s memory resource limit, e.g. "1Gi". Default is unset (no limit). This value is used
for the "limits" portion of the resource requirements (the "requests" portion is
automatically deduced from it).
See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
type: string