blob: f2b35350357f8b7eb64115bae525483b342e6258 [file] [log] [blame]
David Garcia82c5ffa2020-03-09 08:38:17 +01001# Copyright 2020 Canonical Ltd.
2#
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
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,
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.
14version: 2
15service:
16 scalePolicy: serial
17containers:
18 - name: %(name)s
David Garciafa75eca2020-11-04 18:34:41 +010019 imageDetails:
20 imagePath: %(image)s
21 username: %(image_username)s
22 password: %(image_password)s
David Garcia82c5ffa2020-03-09 08:38:17 +010023 kubernetes:
24 readinessProbe:
25 httpGet:
26 path: /openmano/tenants
27 port: %(advertised-port)s
28 periodSeconds: 10
29 timeoutSeconds: 5
30 successThreshold: 1
31 failureThreshold: 3
32 livenessProbe:
33 tcpSocket:
34 port: %(advertised-port)s
35 initialDelaySeconds: 600
36 periodSeconds: 10
37 timeoutSeconds: 5
38 successThreshold: 1
39 failureThreshold: 3
40 ports:
41 - containerPort: %(advertised-port)s
42 protocol: TCP
43 config:
44 ALLOW_ANONYMOUS_LOGIN: 'yes'
45 RO_DB_HOST: %(mysql_host)s
46 RO_DB_PORT: %(mysql_port)s
47 RO_DB_NAME: %(ro_database)s
48 RO_DB_USER: %(mysql_user)s
49 RO_DB_ROOT_PASSWORD: %(mysql_root_password)s
50 RO_DB_PASSWORD: %(mysql_password)s
51
52 RO_DB_OVIM_PASSWORD: %(mysql_password)s
53 RO_DB_OVIM_HOST: %(mysql_host)s
54 RO_DB_OVIM_PORT: %(mysql_port)s
55 RO_DB_OVIM_USER: %(mysql_user)s
56 RO_DB_OVIM_ROOT_PASSWORD: %(mysql_root_password)s
57 RO_DB_OVIM_NAME: %(vim_database)s
58 OPENMANO_TENANT: %(OPENMANO_TENANT)s