Adding manual external DB URI config
[osm/devops.git] / installers / charm / nbi / config.yaml
1 # Copyright 2020 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_whitelist_source_range:
31     type: string
32     description: |
33       A comma-separated list of CIDRs to store in the
34       ingress.kubernetes.io/whitelist-source-range annotation.
35
36       This can be used to lock down access to
37       Keystone based on source IP address.
38     default: ""
39   tls_secret_name:
40     type: string
41     description: TLS Secret name
42     default: ""
43   site_url:
44     type: string
45     description: Ingress URL
46     default: ""
47   cluster_issuer:
48     type: string
49     description: Name of the cluster issuer for TLS certificates
50     default: ""
51   log_level:
52     description: "Log Level"
53     type: string
54     default: "INFO"
55   database_commonkey:
56     description: Database COMMON KEY
57     type: string
58     default: osm
59   auth_backend:
60     type: string
61     description: Authentication backend ('internal' or 'keystone')
62     default: internal
63   enable_test:
64     type: boolean
65     description: Enable test endpoints of NBI.
66     default: false
67   mongodb_uri:
68     type: string
69     description: MongoDB URI (external database)