Adding HA support for Grafana charm
[osm/devops.git] / installers / charm / grafana / config.yaml
1 # Copyright 2021 Canonical Ltd.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 # not use this file except in compliance with the License. You may obtain
5 # a copy of the License at
6 #
7 #         http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 # License for the specific language governing permissions and limitations
13 # under the License.
14 #
15 # For those usages not covered by the Apache License, Version 2.0 please
16 # contact: legal@canonical.com
17 #
18 # To get in touch with the maintainers, please contact:
19 # osm-charmers@lists.launchpad.net
20 ##
21
22 options:
23   max_file_size:
24     type: int
25     description: |
26       The maximum file size, in megabytes. If there is a reverse proxy in front
27       of Keystone, it may need to be configured to handle the requested size.
28       Note: if set to 0, there is no limit.
29     default: 0
30   ingress_class:
31     type: string
32     description: |
33       Ingress class name. This is useful for selecting the ingress to be used
34       in case there are multiple ingresses in the underlying k8s clusters.
35   ingress_whitelist_source_range:
36     type: string
37     description: |
38       A comma-separated list of CIDRs to store in the
39       ingress.kubernetes.io/whitelist-source-range annotation.
40
41       This can be used to lock down access to
42       Keystone based on source IP address.
43     default: ""
44   tls_secret_name:
45     type: string
46     description: TLS Secret name
47     default: ""
48   site_url:
49     type: string
50     description: Ingress URL
51     default: ""
52   cluster_issuer:
53     type: string
54     description: Name of the cluster issuer for TLS certificates
55     default: ""
56   osm_dashboards:
57     type: boolean
58     description: Enable OSM System monitoring dashboards
59     default: false
60   image_pull_policy:
61     type: string
62     description: |
63       ImagePullPolicy configuration for the pod.
64       Possible values: always, ifnotpresent, never
65     default: always
66   mysql_uri:
67     type: string
68     description: |
69       Mysql uri with the following format:
70         mysql://<user>:<pass>@<host>:<port>/<database>
71   admin_user:
72     type: string
73     description: Admin user
74     default: admin
75   log_level:
76     type: string
77     description: |
78       Logging level for Grafana. Options are “debug”, “info”,
79       “warn”, “error”, and “critical”.
80     default: info
81   port:
82     description: The port grafana-k8s will be listening on
83     type: int
84     default: 3000