segregrate the flannel and ovn whoch is controlled by commad line
[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   services:
10     nodes:
11       charm: "cs:{{ ubuntu.release }}/ubuntu"
12       num_units: {{ opnfv.units }}
13     ntp:
14       charm: "./{{ ubuntu.release }}/ntp"
15 {% include 'kubernetes.yaml' %}
16 {% include 'easyrsa.yaml' %}
17 {% include 'etcd.yaml' %}
18 {% if k8.feature.loadbalancer %}
19 {% include 'kubeapi-load-balancer.yaml' %}
20 {% endif %}
21
22 {% if k8.network.controller == 'ovn' %}
23 {% include 'ovn.yaml' %}
24 {% else %}
25 {% include 'flannel.yaml' %}
26 {% endif %}
27
28
29   relations:
30     - [ 'ntp:juju-info', 'nodes:juju-info' ]
31 {% include 'relations.yaml' %}