|
|
@ -34,7 +34,11 @@ apiServerExtraArgs: |
|
|
|
bind-address: {{ kube_apiserver_bind_address }} |
|
|
|
insecure-bind-address: {{ kube_apiserver_insecure_bind_address }} |
|
|
|
insecure-port: "{{ kube_apiserver_insecure_port }}" |
|
|
|
{% if kube_version | version_compare('v1.10', '<') %} |
|
|
|
admission-control: {{ kube_apiserver_admission_control | join(',') }} |
|
|
|
{% else %} |
|
|
|
enable-admission-plugins: {{ kube_apiserver_admission_control | join(',') }} |
|
|
|
{% endif %} |
|
|
|
apiserver-count: "{{ kube_apiserver_count }}" |
|
|
|
{% if kube_version | version_compare('v1.9', '>=') %} |
|
|
|
endpoint-reconciler-type: lease |
|
|
|