diff options
Diffstat (limited to 'ci/config_tpl/juju2/bundlek8_tpl/etcd.yaml')
-rw-r--r-- | ci/config_tpl/juju2/bundlek8_tpl/etcd.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/config_tpl/juju2/bundlek8_tpl/etcd.yaml b/ci/config_tpl/juju2/bundlek8_tpl/etcd.yaml index eaea9543..ca6de4a3 100644 --- a/ci/config_tpl/juju2/bundlek8_tpl/etcd.yaml +++ b/ci/config_tpl/juju2/bundlek8_tpl/etcd.yaml @@ -1,12 +1,12 @@ etcd: charm: "./{{ ubuntu.release }}/etcd" -{% if os.kubernetes.loadbalancer %} +{% if k8.feature.loadbalancer %} num_units: 3 {% else %} num_units: 1 {% endif %} to: -{% if os.kubernetes.loadbalancer %} +{% if k8.feature.loadbalancer %} {% for unit_id in to_select() %} - "nodes/{{ unit_id }}" {% endfor %} |