Code Review
/
joid.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d79c5962e68816e1e82ff0dd4f19097a41a666c2
[joid.git]
/
ci
/
config_tpl
/
juju2
/
bundlek8_tpl
/
etcd.yaml
1
etcd:
2
charm: "cs:~containers/etcd"
3
{% if k8.feature.loadbalancer %}
4
num_units: 3
5
{% else %}
6
num_units: 1
7
{% endif %}
8
to:
9
{% if k8.feature.loadbalancer %}
10
{% for unit_id in to_select() %}
11
- "nodes/{{ unit_id }}"
12
{% endfor %}
13
{% else %}
14
- "nodes/0"
15
{% endif %}
16