diff options
author | AakashKT <aakash.kt@research.iiit.ac.in> | 2017-07-11 18:35:27 +0530 |
---|---|---|
committer | AakashKT <aakash.kt@research.iiit.ac.in> | 2017-07-11 18:46:07 +0530 |
commit | aa443647aa36a04cf34358647310ca3baa4ed216 (patch) | |
tree | e0961429a9f537e1c391cceae6053b14c5fb82df /ci/config_tpl/juju2/bundlek8_tpl/relations.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/relations.yaml')
-rw-r--r-- | ci/config_tpl/juju2/bundlek8_tpl/relations.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ci/config_tpl/juju2/bundlek8_tpl/relations.yaml b/ci/config_tpl/juju2/bundlek8_tpl/relations.yaml index 3a34aa1e..44018201 100644 --- a/ci/config_tpl/juju2/bundlek8_tpl/relations.yaml +++ b/ci/config_tpl/juju2/bundlek8_tpl/relations.yaml @@ -7,9 +7,14 @@ - [ 'kubernetes-master:etcd', 'etcd:db' ] - [ 'kubernetes-master:kube-control', 'kubernetes-worker:kube-control' ] - [ 'kubernetes-worker:certificates', 'easyrsa:client' ] +{% if k8.network.controller == 'ovn' %} + - [ 'ovn:cni', 'kubernetes-master:cni' ] + - [ 'ovn:cni', 'kubernetes-worker:cni' ] +{% else %} - [ 'flannel:etcd', 'etcd:db' ] - [ 'flannel:cni', 'kubernetes-master:cni' ] - [ 'flannel:cni', 'kubernetes-worker:cni' ] +{% endif %} - [ 'etcd:certificates', 'easyrsa:client' ] {% if k8.feature.loadbalancer %} - [ 'kubernetes-master:loadbalancer', 'kubeapi-load-balancer:loadbalancer' ] |