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

{% if k8.network.controller == 'ovn' %}
{% include 'ovn.yaml' %}
{% else %}
{% include 'flannel.yaml' %}
{% endif %}


  relations:
    - [ 'ntp:juju-info', 'nodes:juju-info' ]
{% include 'relations.yaml' %}