charm-ovn-central/src/tests/bundles/jammy-yoga.yaml

64 lines
1.0 KiB
YAML

variables:
openstack-origin: &openstack-origin distro
local_overlay_enabled: False
series: jammy
comment:
- 'machines section to decide order of deployment. database sooner = faster'
machines:
'0':
constraints: mem=3072M
'1':
constraints: mem=3072M
'2':
constraints: mem=3072M
'3':
'4':
'5':
'6':
applications:
mysql-innodb-cluster:
charm: ch:mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
to:
- '0'
- '1'
- '2'
channel: latest/edge
vault-mysql-router:
charm: ch:mysql-router
channel: latest/edge
vault:
charm: ch:vault
num_units: 1
to:
- '3'
channel: latest/edge
ovn-central:
charm: ../../../ovn-central.charm
num_units: 3
options:
to:
- '4'
- '5'
- '6'
relations:
- - 'vault:shared-db'
- 'vault-mysql-router:shared-db'
- - 'vault-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'ovn-central:certificates'
- 'vault:certificates'