Fix bug 1799: Add hostpath mount option in OSM charms
[osm/devops.git] / installers / charm / pol / 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   log_level:
24     description: "Log Level"
25     type: string
26     default: "INFO"
27   mongodb_uri:
28     type: string
29     description: MongoDB URI (external database)
30   mysql_uri:
31     type: string
32     description: |
33       Mysql URI with the following format:
34         mysql://<user>:<password>@<mysql_host>:<mysql_port>/<database>
35   image_pull_policy:
36     type: string
37     description: |
38       ImagePullPolicy configuration for the pod.
39       Possible values: always, ifnotpresent, never
40     default: always
41   debug_mode:
42     description: |
43       If true, debug mode is activated. It means that the service will not run,
44       and instead, the command for the container will be a `sleep infinity`.
45       Note: If enabled, security_context will be disabled.
46     type: boolean
47     default: false
48   debug_pubkey:
49     description: |
50       Public SSH key that will be injected to the application pod.
51     type: string
52   debug_pol_local_path:
53     description: |
54       Local full path to the POL project.
55
56       The path will be mounted to the docker image,
57       which means changes during the debugging will be saved in your local path.
58     type: string
59   debug_common_local_path:
60     description: |
61       Local full path to the COMMON project.
62
63       The path will be mounted to the docker image,
64       which means changes during the debugging will be saved in your local path.
65     type: string
66   security_context:
67     description: Enables the security context of the pods
68     type: boolean
69     default: false