Delete unused controlPlane for join node

it is used for join master or use --experimental-control-plane argments
pull/3934/head
rongzhang 2018-12-23 00:25:40 +08:00
parent e7b835eb4c
commit dd4159fe65
1 changed files with 0 additions and 4 deletions

View File

@ -11,10 +11,6 @@ discovery:
unsafeSkipCAVerification: true
timeout: {{ discovery_timeout }}
tlsBootstrapToken: {{ kubeadm_token }}
{% if groups['kube-master'] | length > 1 and kubeadm_config_api_fqdn is defined %}
controlPlane:
localAPIEndpoint: {{ kubeadm_config_api_fqdn }}:{{ loadbalancer_apiserver.port | default(kube_apiserver_port) }}
{% endif %}
caCertPath: {{ kube_cert_dir }}/ca.crt
nodeRegistration:
name: {{ inventory_hostname }}