enabling the binding for etcd as it is deployed in lxd now. 91/29691/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Fri, 3 Mar 2017 03:58:54 +0000 (21:58 -0600)
committerNarinder Gupta <narinder.gupta@canonical.com>
Fri, 3 Mar 2017 03:58:54 +0000 (21:58 -0600)
Change-Id: I68cfc7b5d7eb35255cbd1f87ee07228e9cfac57a
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/config_tpl/juju2/bundlek8_tpl/etcd.yaml

index bd5ce81..c8747ed 100644 (file)
@@ -4,6 +4,10 @@
       num_units: 3
 {% else %}
       num_units: 1
+{% endif %}
+{% if os.service.bindings %}
+      bindings:
+        "": internal-api
 {% endif %}
       to:
 {% if k8.feature.loadbalancer %}