Add etcd_data_dir variable to the kubeadm config (#5263)

This commit is contained in:
YichenWong 2019-10-17 10:50:39 +08:00 committed by Kubernetes Prow Robot
parent ac60786c6f
commit aada6e7e40
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ etcd:
local:
imageRepository: "{{ etcd_image_repo | regex_replace("/etcd$","") }}"
imageTag: "{{ etcd_image_tag }}"
dataDir: "/var/lib/etcd"
dataDir: "{{ etcd_data_dir }}"
extraArgs:
metrics: {{ etcd_metrics }}
election-timeout: "{{ etcd_election_timeout }}"

View file

@ -42,7 +42,7 @@ etcd:
local:
imageRepository: "{{ etcd_image_repo | regex_replace("/etcd$","") }}"
imageTag: "{{ etcd_image_tag }}"
dataDir: "/var/lib/etcd"
dataDir: "{{ etcd_data_dir }}"
extraArgs:
metrics: {{ etcd_metrics }}
election-timeout: "{{ etcd_election_timeout }}"