Merge "enable new fabric and network creation"
[joid.git] / ci / config_tpl / juju2 / bundlek8_tpl / etcd.yaml
index ca6de4a..c8747ed 100644 (file)
@@ -1,14 +1,18 @@
     etcd:
-      charm: "./{{ ubuntu.release }}/etcd"
+      charm: "cs:~containers/etcd"
 {% if k8.feature.loadbalancer %}
       num_units: 3
 {% else %}
       num_units: 1
+{% endif %}
+{% if os.service.bindings %}
+      bindings:
+        "": internal-api
 {% endif %}
       to:
 {% if k8.feature.loadbalancer %}
 {% for unit_id in to_select() %}
-        - "nodes/{{ unit_id }}"
+        - "lxd:nodes/0"
 {% endfor %}
 {% else %}
         - "nodes/0"