1 # Copyright 2020 Canonical Ltd.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
17 image: %(docker_image)s
19 - containerPort: %(advertised-port)s
22 ALLOW_ANONYMOUS_LOGIN: 'yes'
23 OSMMON_MESSAGE_DRIVER: kafka
24 OSMMON_MESSAGE_HOST: %(kafka_host)s
25 OSMMON_MESSAGE_PORT: %(kafka_port)s
27 OSMMON_DATABASE_DRIVER: mongo
28 OSMMON_DATABASE_URI: %(mongo_uri)s
30 OSMMON_OPENSTACK_DEFAULT_GRANULARITY: %(OSMMON_OPENSTACK_DEFAULT_GRANULARITY)s
31 OSMMON_GLOBAL_REQUEST_TIMEOUT: %(OSMMON_GLOBAL_REQUEST_TIMEOUT)s
32 OSMMON_GLOBAL_LOGLEVEL: %(OSMMON_GLOBAL_LOGLEVEL)s
33 OSMMON_VCA_HOST: %(vca_host)s
34 OSMMON_VCA_USER: %(vca_user)s
35 OSMMON_VCA_SECRET: %(vca_password)s
36 OSMMON_VCA_CACERT: %(vca_cacert)s
37 OSMMON_DATABASE_COMMONKEY: %(OSMMON_DATABASE_COMMONKEY)s
38 OSMMON_COLLECTOR_INTERVAL: %(OSMMON_COLLECTOR_INTERVAL)s
39 OSMMON_EVALUATOR_INTERVAL: %(OSMMON_EVALUATOR_INTERVAL)s
40 OSMMON_PROMETHEUS_URL: http://%(prometheus_url)s
44 port: %(advertised-port)s
51 port: %(advertised-port)s
52 initialDelaySeconds: 45