Merge "Auto Generated INFO.yaml file"
[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 {% elif k8.network.controller == 'canal' %}
27 {% include 'canal.yaml' %}
28 {% else %}
29 {% include 'flannel.yaml' %}
30 {% endif %}
31 {% if k8.feature.storage == 'ceph' %}
32 {% include 'ceph.yaml' %}
33 {% endif %}
34
35   relations:
36     - [ 'ntp:juju-info', 'nodes:juju-info' ]
37 {% include 'relations.yaml' %}