Bug 2192 fixed - MON charm to support the MON attribute vm_infra_metrics
[osm/devops.git] / installers / charm / mon / 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   openstack_default_granularity:
24     description: Openstack default granularity
25     type: int
26     default: 300
27   global_request_timeout:
28     description: Global request timeout
29     type: int
30     default: 10
31   log_level:
32     description: Log level
33     type: string
34     default: INFO
35   database_commonkey:
36     description: Database common key
37     type: string
38     default: osm
39   mongodb_uri:
40     type: string
41     description: MongoDB URI (external database)
42   collector_interval:
43     description: Collector interval
44     type: int
45     default: 30
46   evaluator_interval:
47     description: Evaluator interval
48     type: int
49     default: 30
50   vca_host:
51     type: string
52     description: "The VCA host."
53     default: "admin"
54   vca_user:
55     type: string
56     description: "The VCA user name."
57     default: "admin"
58   vca_secret:
59     type: string
60     description: "The VCA user password."
61     default: "secret"
62   vca_cacert:
63     type: string
64     description: "The VCA cacert."
65     default: ""
66   grafana_url:
67     description: Grafana URL
68     type: string
69     default: http://grafana:3000
70   grafana_user:
71     description: Grafana user
72     type: string
73     default: admin
74   grafana_password:
75     description: Grafana password
76     type: string
77     default: admin
78   keystone_enabled:
79     description: MON will use Keystone backend
80     type: boolean
81     default: false
82   certificates:
83     type: string
84     description: |
85       comma-separated list of <name>:<content> certificates.
86       Where:
87         name: name of the file for the certificate
88         content: base64 content of the certificate
89       The path for the files is /certs.
90   image_pull_policy:
91     type: string
92     description: |
93       ImagePullPolicy configuration for the pod.
94       Possible values: always, ifnotpresent, never
95     default: always
96   debug_mode:
97     description: |
98       If true, debug mode is activated. It means that the service will not run,
99       and instead, the command for the container will be a `sleep infinity`.
100       Note: If enabled, security_context will be disabled.
101     type: boolean
102     default: false
103   debug_pubkey:
104     description: |
105       Public SSH key that will be injected to the application pod.
106     type: string
107   debug_mon_local_path:
108     description: |
109       Local full path to the MON project.
110
111       The path will be mounted to the docker image,
112       which means changes during the debugging will be saved in your local path.
113     type: string
114   debug_n2vc_local_path:
115     description: |
116       Local full path to the N2VC project.
117
118       The path will be mounted to the docker image,
119       which means changes during the debugging will be saved in your local path.
120     type: string
121   debug_common_local_path:
122     description: |
123       Local full path to the COMMON project.
124
125       The path will be mounted to the docker image,
126       which means changes during the debugging will be saved in your local path.
127     type: string
128   security_context:
129     description: Enables the security context of the pods
130     type: boolean
131     default: false
132   vm_infra_metrics:
133     description: Enables querying the VIMs asking for the status of the VMs
134     type: boolean
135     default: true