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