Add web ui authentication
[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_class:
39     type: string
40     description: |
41       Ingress class name. This is useful for selecting the ingress to be used
42       in case there are multiple ingresses in the underlying k8s clusters.
43   ingress_whitelist_source_range:
44     type: string
45     description: |
46       A comma-separated list of CIDRs to store in the
47       ingress.kubernetes.io/whitelist-source-range annotation.
48
49       This can be used to lock down access to
50       Keystone based on source IP address.
51     default: ""
52   tls_secret_name:
53     type: string
54     description: TLS Secret name
55     default: ""
56   site_url:
57     type: string
58     description: Ingress URL
59     default: ""
60   cluster_issuer:
61     type: string
62     description: Name of the cluster issuer for TLS certificates
63     default: ""
64   enable_web_admin_api:
65     type: boolean
66     description: Boolean to enable the web admin api
67     default: false
68   image_pull_policy:
69     type: string
70     description: |
71       ImagePullPolicy configuration for the pod.
72       Possible values: always, ifnotpresent, never
73     default: always
74   security_context:
75     description: Enables the security context of the pods
76     type: boolean
77     default: false
78   web_config_username:
79     type: string
80     default: admin
81     description: Username to access the Prometheus Web Interface
82   web_config_password:
83     type: string
84     default: admin
85     description: Password to access the Prometheus Web Interface