Skip to content
Snippets Groups Projects
Commit aada6e7e authored by YichenWong's avatar YichenWong Committed by Kubernetes Prow Robot
Browse files

Add etcd_data_dir variable to the kubeadm config (#5263)

parent ac60786c
No related branches found
No related tags found
No related merge requests found
......@@ -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 }}"
......
......@@ -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 }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment