Charmed OSM: migration to CharmHub
[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 description: |
17   **Single instance Charmed OSM**
18
19   Charmed OSM is an OSM distribution, developed and maintained by Canonical, which uses
20   Juju charms to simplify its deployments and operations. This bundle distribution refers
21   to the development stack for OSM and allows you to deploy a single instance OSM bundle
22   that is fast, reliable, and a complete solution with MicroStack and MicroK8s.
23
24   - Industry‐aligned and fully compliant with upstream
25   - Predictable release cadence and upgrade path
26   - Simplified deployments and operations
27   - Stable and secure
28   - Supported with Ubuntu Advantage
29   - Availability of managed services
30 applications:
31   zookeeper:
32     charm: osm-zookeeper
33     channel: latest/edge
34     scale: 1
35     series: kubernetes
36     storage:
37       database: 100M
38     annotations:
39       gui-x: 0
40       gui-y: 500
41   mariadb:
42     charm: charmed-osm-mariadb-k8s
43     scale: 1
44     series: kubernetes
45     storage:
46       database: 50M
47     options:
48       password: manopw
49       root_password: osm4u
50       user: mano
51     annotations:
52       gui-x: -300
53       gui-y: -250
54   kafka:
55     charm: osm-kafka
56     channel: latest/edge
57     scale: 1
58     series: kubernetes
59     storage:
60       database: 100M
61     annotations:
62       gui-x: 0
63       gui-y: 250
64   mongodb:
65     charm: mongodb-k8s
66     channel: latest/stable
67     scale: 1
68     series: kubernetes
69     storage:
70       db: 50M
71     annotations:
72       gui-x: 0
73       gui-y: 0
74   nbi:
75     charm: osm-nbi
76     channel: latest/edge
77     scale: 1
78     series: kubernetes
79     options:
80       database_commonkey: osm
81       auth_backend: keystone
82       log_level: DEBUG
83     annotations:
84       gui-x: 0
85       gui-y: -250
86   ro:
87     charm: osm-ro
88     channel: latest/edge
89     scale: 1
90     series: kubernetes
91     options:
92       log_level: DEBUG
93     annotations:
94       gui-x: -300
95       gui-y: 250
96   ng-ui:
97     charm: osm-ng-ui
98     channel: latest/edge
99     scale: 1
100     series: kubernetes
101     annotations:
102       gui-x: 600
103       gui-y: 0
104   lcm:
105     charm: osm-lcm
106     channel: latest/edge
107     scale: 1
108     series: kubernetes
109     options:
110       database_commonkey: osm
111       log_level: DEBUG
112     annotations:
113       gui-x: -300
114       gui-y: 0
115   mon:
116     charm: osm-mon
117     channel: latest/edge
118     scale: 1
119     series: kubernetes
120     options:
121       database_commonkey: osm
122       log_level: DEBUG
123       keystone_enabled: true
124     annotations:
125       gui-x: 300
126       gui-y: 0
127   pol:
128     charm: osm-pol
129     channel: latest/edge
130     scale: 1
131     series: kubernetes
132     options:
133       log_level: DEBUG
134     annotations:
135       gui-x: -300
136       gui-y: 500
137   pla:
138     charm: osm-pla
139     channel: latest/edge
140     scale: 1
141     series: kubernetes
142     options:
143       log_level: DEBUG
144     annotations:
145       gui-x: 600
146       gui-y: -250
147   prometheus:
148     charm: osm-prometheus
149     channel: latest/edge
150     scale: 1
151     series: kubernetes
152     storage:
153       data: 50M
154     options:
155       default-target: "mon:8000"
156     annotations:
157       gui-x: 300
158       gui-y: 250
159   grafana:
160     charm: osm-grafana
161     channel: latest/edge
162     scale: 1
163     series: kubernetes
164     annotations:
165       gui-x: 300
166       gui-y: 500
167   keystone:
168     charm: osm-keystone
169     channel: latest/edge
170     scale: 1
171     annotations:
172       gui-x: 300
173       gui-y: -250
174 relations:
175   - - grafana:prometheus
176     - prometheus:prometheus
177   - - kafka:zookeeper
178     - zookeeper:zookeeper
179   - - keystone:db
180     - mariadb:mysql
181   - - lcm:kafka
182     - kafka:kafka
183   - - lcm:mongodb
184     - mongodb:database
185   - - ro:ro
186     - lcm:ro
187   - - ro:kafka
188     - kafka:kafka
189   - - ro:mongodb
190     - mongodb:database
191   - - pol:kafka
192     - kafka:kafka
193   - - pol:mongodb
194     - mongodb:database
195   - - mon:mongodb
196     - mongodb:database
197   - - mon:kafka
198     - kafka:kafka
199   - - pla:kafka
200     - kafka:kafka
201   - - pla:mongodb
202     - mongodb:database
203   - - nbi:mongodb
204     - mongodb:database
205   - - nbi:kafka
206     - kafka:kafka
207   - - nbi:prometheus
208     - prometheus:prometheus
209   - - nbi:keystone
210     - keystone:keystone
211   - - mon:prometheus
212     - prometheus:prometheus
213   - - ng-ui:nbi
214     - nbi:nbi
215   - - mon:keystone
216     - keystone:keystone
217   - - mariadb:mysql
218     - pol:mysql
219   - - grafana:db
220     - mariadb:mysql