mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 19:58:07 +03:00
Delete unused controlPlane for join node
it is used for join master or use --experimental-control-plane argments
This commit is contained in:
@@ -11,10 +11,6 @@ discovery:
|
|||||||
unsafeSkipCAVerification: true
|
unsafeSkipCAVerification: true
|
||||||
timeout: {{ discovery_timeout }}
|
timeout: {{ discovery_timeout }}
|
||||||
tlsBootstrapToken: {{ kubeadm_token }}
|
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
|
caCertPath: {{ kube_cert_dir }}/ca.crt
|
||||||
nodeRegistration:
|
nodeRegistration:
|
||||||
name: {{ inventory_hostname }}
|
name: {{ inventory_hostname }}
|
||||||
|
|||||||
Reference in New Issue
Block a user