summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundlek8_tpl/relations.yaml
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-01-19 18:36:54 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2017-01-19 18:38:48 -0600
commitd2a46221d560ae28c890605fdadc206d6499b0e9 (patch)
tree8e009d7ebd8a0cb0114b455820e3d23a1bfc00a3 /ci/config_tpl/juju2/bundlek8_tpl/relations.yaml
parentec2e581d926243b50962490bb503b551cbc7a18b (diff)
modfied to support k8.
Change-Id: I274e0e381ec3ee7263df622cabfcc3a68516f16f Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/juju2/bundlek8_tpl/relations.yaml')
-rw-r--r--ci/config_tpl/juju2/bundlek8_tpl/relations.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/config_tpl/juju2/bundlek8_tpl/relations.yaml b/ci/config_tpl/juju2/bundlek8_tpl/relations.yaml
index 63fefab4..de69b769 100644
--- a/ci/config_tpl/juju2/bundlek8_tpl/relations.yaml
+++ b/ci/config_tpl/juju2/bundlek8_tpl/relations.yaml
@@ -1,4 +1,4 @@
-{% if os.kubernetes.loadbalancer %}
+{% if k8.feature.loadbalancer %}
- [ 'kubernetes-master:kube-api-endpoint', 'kubeapi-load-balancer:apiserver' ]
{% else %}
- [ 'kubernetes-master:kube-api-endpoint', 'kubernetes-worker:kube-api-endpoint' ]
@@ -11,7 +11,7 @@
- [ 'flannel:cni', 'kubernetes-master:cni' ]
- [ 'flannel:cni', 'kubernetes-worker:cni' ]
- [ 'etcd:certificates', 'easyrsa:client' ]
-{% if os.kubernetes.loadbalancer %}
+{% if k8.feature.loadbalancer %}
- [ 'kubernetes-master:loadbalancer', 'kubeapi-load-balancer:loadbalancer' ]
- [ 'kubernetes-worker:kube-api-endpoint', 'kubeapi-load-balancer:website' ]
- [ 'kubeapi-load-balancer:certificates', 'easyrsa:client' ]