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