Fix bug 1799: Add hostpath mount option in OSM charms
[osm/devops.git] / installers / charm / ro / 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   enable_ng_ro:
24     description: Enable NG-RO
25     type: boolean
26     default: true
27   database_commonkey:
28     description: Database COMMON KEY
29     type: string
30     default: osm
31   mongodb_uri:
32     type: string
33     description: MongoDB URI (external database)
34   log_level:
35     description: "Log Level"
36     type: string
37     default: "INFO"
38   mysql_host:
39     type: string
40     description: MySQL Host (external database)
41   mysql_port:
42     type: int
43     description: MySQL Port (external database)
44   mysql_user:
45     type: string
46     description: MySQL User (external database)
47   mysql_password:
48     type: string
49     description: MySQL Password (external database)
50   mysql_root_password:
51     type: string
52     description: MySQL Root Password (external database)
53   vim_database:
54     type: string
55     description: "The database name."
56     default: "mano_vim_db"
57   ro_database:
58     type: string
59     description: "The database name."
60     default: "mano_db"
61   openmano_tenant:
62     type: string
63     description: "Openmano Tenant"
64     default: "osm"
65   certificates:
66     type: string
67     description: |
68       comma-separated list of <name>:<content> certificates.
69       Where:
70         name: name of the file for the certificate
71         content: base64 content of the certificate
72       The path for the files is /certs.
73   image_pull_policy:
74     type: string
75     description: |
76       ImagePullPolicy configuration for the pod.
77       Possible values: always, ifnotpresent, never
78     default: always
79   debug_mode:
80     description: |
81       If true, debug mode is activated. It means that the service will not run,
82       and instead, the command for the container will be a `sleep infinity`.
83       Note: If enabled, security_context will be disabled.
84     type: boolean
85     default: false
86   debug_pubkey:
87     description: |
88       Public SSH key that will be injected to the application pod.
89     type: string
90   debug_ro_local_path:
91     description: |
92       Local full path to the RO project.
93
94       The path will be mounted to the docker image,
95       which means changes during the debugging will be saved in your local path.
96     type: string
97   debug_common_local_path:
98     description: |
99       Local full path to the COMMON project.
100
101       The path will be mounted to the docker image,
102       which means changes during the debugging will be saved in your local path.
103     type: string
104   security_context:
105     description: Enables the security context of the pods
106     type: boolean
107     default: false