diff options
author | 2017-07-11 18:35:27 +0530 | |
---|---|---|
committer | 2017-07-11 18:46:07 +0530 | |
commit | aa443647aa36a04cf34358647310ca3baa4ed216 (patch) | |
tree | e0961429a9f537e1c391cceae6053b14c5fb82df /ci/config_tpl/juju2/bundlek8_tpl/bundle.yaml | |
parent | b6cc7d415446524aa86b26410eb09fb1ee52896f (diff) |
segregrate the flannel and ovn whoch is controlled by commad line
parameter
Change-Id: I005827f72631bea8b11e302a84aaf95de8dee1c8
Signed-off-by: Aakash KT <aakash.kt@research.iiit.ac.in>
Diffstat (limited to 'ci/config_tpl/juju2/bundlek8_tpl/bundle.yaml')
-rw-r--r-- | ci/config_tpl/juju2/bundlek8_tpl/bundle.yaml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ci/config_tpl/juju2/bundlek8_tpl/bundle.yaml b/ci/config_tpl/juju2/bundlek8_tpl/bundle.yaml index 400dcb45..96a27cfb 100644 --- a/ci/config_tpl/juju2/bundlek8_tpl/bundle.yaml +++ b/ci/config_tpl/juju2/bundlek8_tpl/bundle.yaml @@ -15,11 +15,16 @@ {% include 'kubernetes.yaml' %} {% include 'easyrsa.yaml' %} {% include 'etcd.yaml' %} -{% include 'subordinate.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' ] |