--etcd-quorum-read is depricated in kube >= 1.9

pull/2229/head
Dann Bohn 2018-01-31 15:49:52 -05:00
parent c1267004ef
commit dc6c703741
1 changed files with 2 additions and 0 deletions

View File

@ -30,7 +30,9 @@ spec:
- apiserver
- --advertise-address={{ ip | default(ansible_default_ipv4.address) }}
- --etcd-servers={{ etcd_access_addresses }}
{% if kube_version | version_compare('v1.9', '<') %}
- --etcd-quorum-read=true
{% endif %}
- --etcd-cafile={{ etcd_cert_dir }}/ca.pem
- --etcd-certfile={{ etcd_cert_dir }}/node-{{ inventory_hostname }}.pem
- --etcd-keyfile={{ etcd_cert_dir }}/node-{{ inventory_hostname }}-key.pem