Correct etcd data mount path
If the etcd data path is set to anything other that `/var/lib/etcd`, this mount path is not used, and the etcd data is not persisted.
This commit is contained in:
parent
11c774b04f
commit
dd0e03d228
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
--net=host \
|
--net=host \
|
||||||
-v /etc/ssl/certs:/etc/ssl/certs:ro \
|
-v /etc/ssl/certs:/etc/ssl/certs:ro \
|
||||||
-v {{ etcd_cert_dir }}:{{ etcd_cert_dir }}:ro \
|
-v {{ etcd_cert_dir }}:{{ etcd_cert_dir }}:ro \
|
||||||
-v {{ etcd_data_dir }}:/var/lib/etcd:rw \
|
-v {{ etcd_data_dir }}:{{ etcd_data_dir }}:rw \
|
||||||
{% if etcd_memory_limit is defined %}
|
{% if etcd_memory_limit is defined %}
|
||||||
--memory={{ etcd_memory_limit|regex_replace('Mi', 'M') }} \
|
--memory={{ etcd_memory_limit|regex_replace('Mi', 'M') }} \
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue