Convert all etcd-specific configs to nested
Change-Id: I3f2a908ebdb185bb92660683dd5606bf06e15a8e
This commit is contained in:
parent
29e2a0a40f
commit
c5168f6f02
|
@ -1,8 +1,8 @@
|
||||||
service:
|
service:
|
||||||
name: etcd
|
name: etcd
|
||||||
ports:
|
ports:
|
||||||
- {{ etcd_client_port }}
|
- {{ etcd.client_port }}
|
||||||
- {{ etcd_server_port }}
|
- {{ etcd.server_port }}
|
||||||
containers:
|
containers:
|
||||||
- name: etcd
|
- name: etcd
|
||||||
image: etcd
|
image: etcd
|
||||||
|
@ -10,5 +10,5 @@ service:
|
||||||
readiness: "true"
|
readiness: "true"
|
||||||
liveness: "true"
|
liveness: "true"
|
||||||
daemon:
|
daemon:
|
||||||
command: etcd --listen-client-urls http://0.0.0.0:{{ etcd_client_port }}
|
command: etcd --listen-client-urls http://0.0.0.0:{{ etcd.client_port }}
|
||||||
--advertise-client-urls http://{{ address("etcd") }}:{{ etcd_client_port }}
|
--advertise-client-urls http://{{ address("etcd") }}:{{ etcd.client_port }}
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
configs:
|
configs:
|
||||||
etcd_connection_attempts: 20
|
etcd:
|
||||||
etcd_connection_delay: 5
|
connection_attempts: 20
|
||||||
etcd_client_port: 2379
|
connection_delay: 5
|
||||||
etcd_server_port: 2380
|
client_port: 2379
|
||||||
|
server_port: 2380
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
etcd_version: v3.0.9
|
etcd_version: v3.0.9
|
||||||
|
|
Loading…
Reference in New Issue