Merge "Doc updates for MS6"
[joid.git] / ci / config_tpl / juju2 / bundlek8_tpl / etcd.yaml
index ba99d0e..d79c596 100644 (file)
@@ -1,6 +1,16 @@
     etcd:
-      charm: "./{{ ubuntu.release }}/etcd"
+      charm: "cs:~containers/etcd"
+{% if k8.feature.loadbalancer %}
+      num_units: 3
+{% else %}
       num_units: 1
+{% endif %}
       to:
+{% if k8.feature.loadbalancer %}
+{% for unit_id in to_select() %}
+        - "nodes/{{ unit_id }}"
+{% endfor %}
+{% else %}
         - "nodes/0"
+{% endif %}