4718b919fd3c2662fe2d26bb8d52dd7ff801f3d0
[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: zookeeper-k8s
33     channel: latest/stable
34     scale: 1
35     storage:
36       data: 100M
37   kafka:
38     charm: kafka-k8s
39     channel: latest/stable
40     scale: 1
41     trust: true
42     storage:
43       data: 100M
44   mariadb:
45     charm: charmed-osm-mariadb-k8s
46     scale: 1
47     series: kubernetes
48     storage:
49       database: 50M
50     options:
51       password: manopw
52       root_password: osm4u
53       user: mano
54   mongodb:
55     charm: mongodb-k8s
56     channel: latest/stable
57     scale: 1
58     series: kubernetes
59     storage:
60       db: 50M
61   nbi:
62     charm: osm-nbi
63     channel: latest/edge/paas
64     series: focal
65     trust: true
66     scale: 1
67     options:
68       database-commonkey: osm
69       log-level: DEBUG
70     resources:
71       nbi-image: opensourcemano/nbi:testing-daily
72   ro:
73     charm: osm-ro
74     channel: latest/beta
75     trust: true
76     scale: 1
77     options:
78       log-level: DEBUG
79     resources:
80       ro-image: opensourcemano/ro:testing-daily
81   ng-ui:
82     charm: osm-ng-ui
83     channel: latest/beta
84     trust: true
85     scale: 1
86     resources:
87       ng-ui-image: opensourcemano/ng-ui:testing-daily
88   lcm:
89     charm: osm-lcm
90     channel: latest/edge/paas
91     series: focal
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: osm-prometheus
127     channel: latest/stable
128     scale: 1
129     series: kubernetes
130     storage:
131       data: 50M
132     options:
133       default-target: "mon:8000"
134   grafana:
135     charm: osm-grafana
136     channel: latest/stable
137     scale: 1
138     series: kubernetes
139   keystone:
140     charm: osm-keystone
141     channel: latest/stable
142     scale: 1
143     resources:
144       keystone-image: opensourcemano/keystone:testing-daily
145   temporal:
146     charm: osm-temporal
147     channel: latest/edge/paas
148     series: focal
149     scale: 1
150     resources:
151       temporal-server-image: temporalio/auto-setup:1.19.0
152 relations:
153   - - grafana:prometheus
154     - prometheus:prometheus
155   - - kafka:zookeeper
156     - zookeeper:zookeeper
157   - - keystone:db
158     - mariadb:mysql
159   - - lcm:kafka
160     - kafka:kafka
161   - - lcm:mongodb
162     - mongodb:database
163   - - lcm:vca
164     - vca:vca
165   - - ro:ro
166     - lcm:ro
167   - - ro:kafka
168     - kafka:kafka
169   - - ro:mongodb
170     - mongodb:database
171   - - pol:kafka
172     - kafka:kafka
173   - - pol:mongodb
174     - mongodb:database
175   - - mon:mongodb
176     - mongodb:database
177   - - mon:kafka
178     - kafka:kafka
179   - - mon:vca
180     - vca:vca
181   - - nbi:mongodb
182     - mongodb:database
183   - - nbi:kafka
184     - kafka:kafka
185   - - nbi:ingress
186     - ingress:ingress
187   - - nbi:prometheus
188     - prometheus:prometheus
189   - - nbi:keystone
190     - keystone:keystone
191   - - nbi:temporal
192     - temporal:temporal
193   - - mon:prometheus
194     - prometheus:prometheus
195   - - ng-ui:nbi
196     - nbi:nbi
197   - - ng-ui:ingress
198     - ingress:ingress
199   - - mon:keystone
200     - keystone:keystone
201   - - mariadb:mysql
202     - pol:mysql
203   - - grafana:db
204     - mariadb:mysql
205   - - temporal:db
206     - mariadb:mysql