summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundlek8_tpl/etcd.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/config_tpl/juju2/bundlek8_tpl/etcd.yaml')
-rw-r--r--ci/config_tpl/juju2/bundlek8_tpl/etcd.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/config_tpl/juju2/bundlek8_tpl/etcd.yaml b/ci/config_tpl/juju2/bundlek8_tpl/etcd.yaml
index bd5ce815..c8747edd 100644
--- a/ci/config_tpl/juju2/bundlek8_tpl/etcd.yaml
+++ b/ci/config_tpl/juju2/bundlek8_tpl/etcd.yaml
@@ -5,6 +5,10 @@
{% else %}
num_units: 1
{% endif %}
+{% if os.service.bindings %}
+ bindings:
+ "": internal-api
+{% endif %}
to:
{% if k8.feature.loadbalancer %}
{% for unit_id in to_select() %}