baa04cd468510f544d82e3ac6137d9a83c85b7d4
[osm/devops.git] / installers / charm / prometheus / 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   web_subpath:
24     description: Subpath for accessing Prometheus
25     type: string
26     default: /
27   default_target:
28     description: Default target to be added in Prometheus
29     type: string
30     default: ""
31   max_file_size:
32     type: int
33     description: |
34       The maximum file size, in megabytes. If there is a reverse proxy in front
35       of Keystone, it may need to be configured to handle the requested size.
36       Note: if set to 0, there is no limit.
37     default: 0
38   ingress_whitelist_source_range:
39     type: string
40     description: |
41       A comma-separated list of CIDRs to store in the
42       ingress.kubernetes.io/whitelist-source-range annotation.
43
44       This can be used to lock down access to
45       Keystone based on source IP address.
46     default: ""
47   tls_secret_name:
48     type: string
49     description: TLS Secret name
50     default: ""
51   site_url:
52     type: string
53     description: Ingress URL
54     default: ""
55   enable_web_admin_api:
56     type: boolean
57     description: Boolean to enable the web admin api
58     default: False