Code Review
/
joid.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
modfiied to not to expose api on admin network if public is not
[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