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