| 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 | containers: |
| 16 | - name: %(name)s |
| David Garcia | fa75eca | 2020-11-04 18:34:41 +0100 | [diff] [blame] | 17 | imageDetails: |
| 18 | imagePath: %(image)s |
| 19 | username: %(image_username)s |
| 20 | password: %(image_password)s |
| David Garcia | 82c5ffa | 2020-03-09 08:38:17 +0100 | [diff] [blame] | 21 | ports: |
| 22 | # This is a fake port; lcm doesn't listen, since it's just reading |
| 23 | # and responding to the kafka bus. Fix this in post. |
| 24 | - containerPort: 9999 |
| 25 | protocol: TCP |
| 26 | config: |
| 27 | ALLOW_ANONYMOUS_LOGIN: 'yes' |
| 28 | OSMLCM_RO_HOST: %(ro_host)s |
| 29 | OSMLCM_RO_PORT: %(ro_port)s |
| 30 | OSMLCM_RO_TENANT: osm |
| 31 | |
| 32 | OSMLCM_MESSAGE_DRIVER: kafka |
| 33 | OSMLCM_MESSAGE_HOST: %(kafka_host)s |
| 34 | OSMLCM_MESSAGE_PORT: %(kafka_port)s |
| 35 | |
| 36 | OSMLCM_DATABASE_DRIVER: mongo |
| 37 | OSMLCM_DATABASE_URI: %(mongo_uri)s |
| 38 | OSMLCM_DATABASE_COMMONKEY: %(DATABASE_COMMONKEY)s |
| 39 | |
| 40 | OSMLCM_STORAGE_DRIVER: mongo |
| 41 | OSMLCM_STORAGE_PATH: /app/storage |
| 42 | OSMLCM_STORAGE_COLLECTION: files |
| 43 | OSMLCM_STORAGE_URI: %(mongo_uri)s |
| 44 | |
| 45 | OSMLCM_VCA_HOST: %(vca_host)s |
| 46 | OSMLCM_VCA_PORT: %(vca_port)s |
| 47 | OSMLCM_VCA_USER: %(vca_user)s |
| 48 | OSMLCM_VCA_PUBKEY: %(vca_pubkey)s |
| 49 | OSMLCM_VCA_SECRET: %(vca_password)s |
| 50 | OSMLCM_VCA_CACERT: %(vca_cacert)s |
| David Garcia | 82c5ffa | 2020-03-09 08:38:17 +0100 | [diff] [blame] | 51 | OSMLCM_VCA_CLOUD: %(vca_cloud)s |
| beierlm | a4a37f7 | 2020-06-26 12:55:01 -0400 | [diff] [blame] | 52 | OSMLCM_VCA_K8S_CLOUD: %(vca_k8s_cloud)s |