b4ed14ac6fc0599eff38dcae2dfeeed544a3676a
[joid.git] / ci / config_tpl / juju2 / bundlek8_tpl / bundle.yaml
1 # vim: set ts=2 et:
2 # The machine constraints for each service in this bundle
3 # have been commented out so you don't run into quota
4 # problems on public clouds. Modify and uncomment the
5 # constraints: lines for each service to reflect your
6 # deployment before moving to production.
7 #
8   series: {{ ubuntu.release }}
9   variables:
10 {% include 'spaces.yaml' %}
11   services:
12     nodes:
13       charm: "cs:{{ ubuntu.release }}/ubuntu"
14       num_units: {{ opnfv.units }}
15     ntp:
16       charm: "./{{ ubuntu.release }}/ntp"
17 {% include 'kubernetes.yaml' %}
18 {% include 'easyrsa.yaml' %}
19 {% include 'etcd.yaml' %}
20 {% if k8.feature.loadbalancer %}
21 {% include 'kubeapi-load-balancer.yaml' %}
22 {% endif %}
23
24 {% if k8.network.controller == 'ovn' %}
25 {% include 'ovn.yaml' %}
26 {% else %}
27 {% include 'flannel.yaml' %}
28 {% endif %}
29
30
31   relations:
32     - [ 'ntp:juju-info', 'nodes:juju-info' ]
33 {% include 'relations.yaml' %}