9f6023c4bc911c599537aa22b4ecb63caf8fa8fd
[osm/devops.git] / installers / charm / bundles / osm / bundle.yaml
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 name: osm
15 bundle: kubernetes
16 docs: https://discourse.charmhub.io/t/osm-docs-index/8806
17 issues: https://osm.etsi.org/bugzilla/
18 description: |
19   **Single instance Charmed OSM**
20
21   Charmed OSM is an OSM distribution, developed and maintained by Canonical, which uses
22   Juju charms to simplify its deployments and operations. This bundle distribution refers
23   to the development stack for OSM and allows you to deploy a single instance OSM bundle
24   that is fast, reliable, and a complete solution with MicroStack and MicroK8s.
25
26   - Industry-aligned and fully compliant with upstream
27   - Predictable release cadence and upgrade path
28   - Simplified deployments and operations
29   - Stable and secure
30   - Supported with Ubuntu Advantage
31   - Availability of managed services
32 applications:
33   zookeeper:
34     charm: zookeeper-k8s
35     channel: latest/stable
36     scale: 1
37     storage:
38       data: 100M
39   kafka:
40     charm: kafka-k8s
41     channel: latest/stable
42     scale: 1
43     trust: true
44     storage:
45       data: 100M
46   mariadb:
47     charm: charmed-osm-mariadb-k8s
48     scale: 1
49     series: kubernetes
50     storage:
51       database: 50M
52     options:
53       password: manopw
54       root_password: osm4u
55       user: mano
56   mongodb:
57     charm: mongodb-k8s
58     channel: 5/edge
59     scale: 1
60     series: kubernetes
61     storage:
62       mongodb: 50M
63   nbi:
64     charm: osm-nbi
65     channel: latest/beta
66     trust: true
67     scale: 1
68     options:
69       database-commonkey: osm
70       log-level: DEBUG
71     resources:
72       nbi-image: opensourcemano/nbi:testing-daily
73   ro:
74     charm: osm-ro
75     channel: latest/beta
76     trust: true
77     scale: 1
78     options:
79       log-level: DEBUG
80     resources:
81       ro-image: opensourcemano/ro:testing-daily
82   ng-ui:
83     charm: osm-ng-ui
84     channel: latest/beta
85     trust: true
86     scale: 1
87     resources:
88       ng-ui-image: opensourcemano/ng-ui:testing-daily
89   lcm:
90     charm: osm-lcm
91     channel: latest/beta
92     scale: 1
93     options:
94       database-commonkey: osm
95       log-level: DEBUG
96     resources:
97       lcm-image: opensourcemano/lcm:testing-daily
98   mon:
99     charm: osm-mon
100     channel: latest/beta
101     trust: true
102     scale: 1
103     options:
104       database-commonkey: osm
105       log-level: DEBUG
106       keystone-enabled: true
107     resources:
108       mon-image: opensourcemano/mon:testing-daily
109   pol:
110     charm: osm-pol
111     channel: latest/beta
112     scale: 1
113     options:
114       log-level: DEBUG
115     resources:
116       pol-image: opensourcemano/pol:testing-daily
117   vca:
118     charm: osm-vca-integrator
119     channel: latest/beta
120     scale: 1
121   ingress:
122     charm: nginx-ingress-integrator
123     channel: latest/stable
124     scale: 1
125   prometheus:
126     charm: prometheus-k8s
127     channel: latest/edge
128     scale: 1
129     storage:
130       database: 50M
131   grafana:
132     charm: grafana-k8s
133     channel: latest/edge
134     scale: 1
135   keystone:
136     charm: osm-keystone
137     channel: latest/beta
138     scale: 1
139     resources:
140       keystone-image: opensourcemano/keystone:testing-daily
141 relations:
142   - - kafka:zookeeper
143     - zookeeper:zookeeper
144   - - keystone:db
145     - mariadb:mysql
146   - - lcm:kafka
147     - kafka:kafka
148   - - lcm:mongodb
149     - mongodb:database
150   - - lcm:vca
151     - vca:vca
152   - - ro:ro
153     - lcm:ro
154   - - ro:kafka
155     - kafka:kafka
156   - - ro:mongodb
157     - mongodb:database
158   - - pol:kafka
159     - kafka:kafka
160   - - pol:mongodb
161     - mongodb:database
162   - - mon:mongodb
163     - mongodb:database
164   - - mon:kafka
165     - kafka:kafka
166   - - mon:vca
167     - vca:vca
168   - - nbi:mongodb
169     - mongodb:database
170   - - nbi:kafka
171     - kafka:kafka
172   - - nbi:ingress
173     - ingress:ingress
174   - - nbi:keystone
175     - keystone:keystone
176   - - mon:metrics-endpoint
177     - prometheus:metrics-endpoint
178   - - ng-ui:nbi
179     - nbi:nbi
180   - - ng-ui:ingress
181     - ingress:ingress
182   - - mon:keystone
183     - keystone:keystone
184   - - mariadb:mysql
185     - pol:mysql
186