Update from master
[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: latest/edge
58     scale: 1
59     series: kubernetes
60     storage:
61       db: 50M
62   nbi:
63     charm: osm-nbi
64     channel: latest/edge/paas
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     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/edge/paas
92     series: focal
93     scale: 1
94     options:
95       database-commonkey: osm
96       log-level: DEBUG
97     resources:
98       lcm-image: opensourcemano/lcm:testing-daily
99   mon:
100     charm: osm-mon
101     channel: latest/beta
102     trust: true
103     scale: 1
104     options:
105       database-commonkey: osm
106       log-level: DEBUG
107       keystone-enabled: true
108     resources:
109       mon-image: opensourcemano/mon:testing-daily
110   pol:
111     charm: osm-pol
112     channel: latest/beta
113     scale: 1
114     options:
115       log-level: DEBUG
116     resources:
117       pol-image: opensourcemano/pol:testing-daily
118   vca:
119     charm: osm-vca-integrator
120     channel: latest/beta
121     scale: 1
122   ingress:
123     charm: nginx-ingress-integrator
124     channel: latest/stable
125     scale: 1
126   prometheus:
127     charm: osm-prometheus
128     channel: latest/stable
129     scale: 1
130     series: kubernetes
131     storage:
132       data: 50M
133     options:
134       default-target: "mon:8000"
135   grafana:
136     charm: osm-grafana
137     channel: latest/stable
138     scale: 1
139     series: kubernetes
140   keystone:
141     charm: osm-keystone
142     channel: latest/stable
143     scale: 1
144     resources:
145       keystone-image: opensourcemano/keystone:testing-daily
146   temporal:
147     charm: osm-temporal
148     channel: latest/edge
149     series: focal
150     scale: 1
151     resources:
152       temporal-server-image: temporalio/auto-setup:1.20.0
153 relations:
154   - - grafana:prometheus
155     - prometheus:prometheus
156   - - kafka:zookeeper
157     - zookeeper:zookeeper
158   - - keystone:db
159     - mariadb:mysql
160   - - lcm:kafka
161     - kafka:kafka
162   - - lcm:mongodb
163     - mongodb:database
164   - - lcm:vca
165     - vca:vca
166   - - ro:ro
167     - lcm:ro
168   - - ro:kafka
169     - kafka:kafka
170   - - ro:mongodb
171     - mongodb:database
172   - - pol:kafka
173     - kafka:kafka
174   - - pol:mongodb
175     - mongodb:database
176   - - mon:mongodb
177     - mongodb:database
178   - - mon:kafka
179     - kafka:kafka
180   - - mon:vca
181     - vca:vca
182   - - nbi:mongodb
183     - mongodb:database
184   - - nbi:kafka
185     - kafka:kafka
186   - - nbi:ingress
187     - ingress:ingress
188   - - nbi:prometheus
189     - prometheus:prometheus
190   - - nbi:keystone
191     - keystone:keystone
192   - - nbi:temporal
193     - temporal:temporal
194   - - mon:prometheus
195     - prometheus:prometheus
196   - - ng-ui:nbi
197     - nbi:nbi
198   - - ng-ui:ingress
199     - ingress:ingress
200   - - mon:keystone
201     - keystone:keystone
202   - - mariadb:mysql
203     - pol:mysql
204   - - grafana:db
205     - mariadb:mysql
206   - - temporal:db
207     - mariadb:mysql