Browse Source
Merge pull request #3934 from riverzhang/delete-kubeamd-client
Delete unused controlPlane for join node
pull/3936/head
Rong Zhang
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
4 deletions
-
roles/kubernetes/kubeadm/templates/kubeadm-client.conf.v1beta1.j2
|
|
@ -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 }} |
|
|
|