| David Garcia | 82c5ffa | 2020-03-09 08:38:17 +0100 | [diff] [blame] | 1 | # 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. |
| 14 | version: 2 |
| 15 | service: |
| 16 | scalePolicy: serial |
| 17 | containers: |
| 18 | - name: %(name)s |
| David Garcia | fa75eca | 2020-11-04 18:34:41 +0100 | [diff] [blame] | 19 | imageDetails: |
| 20 | imagePath: %(image)s |
| 21 | username: %(image_username)s |
| 22 | password: %(image_password)s |
| David Garcia | 82c5ffa | 2020-03-09 08:38:17 +0100 | [diff] [blame] | 23 | kubernetes: |
| David Garcia | 82c5ffa | 2020-03-09 08:38:17 +0100 | [diff] [blame] | 24 | livenessProbe: |
| 25 | tcpSocket: |
| 26 | port: %(advertised-port)s |
| 27 | initialDelaySeconds: 600 |
| 28 | periodSeconds: 10 |
| 29 | timeoutSeconds: 5 |
| 30 | successThreshold: 1 |
| 31 | failureThreshold: 3 |
| 32 | ports: |
| 33 | - containerPort: %(advertised-port)s |
| 34 | protocol: TCP |
| 35 | config: |
| 36 | ALLOW_ANONYMOUS_LOGIN: 'yes' |
| David Garcia | d2d52f7 | 2020-11-28 14:38:35 +0100 | [diff] [blame] | 37 | OPENMANO_TENANT: %(OPENMANO_TENANT)s |