Browse Source
fix number node name can't be added (#9266)
Signed-off-by: cleverhu <shouping.hu@daocloud.io>
Signed-off-by: cleverhu <shouping.hu@daocloud.io>
pull/9274/head
cleverhu
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
roles/kubernetes/kubeadm/templates/kubeadm-client.conf.v1beta3.j2
|
@ -19,7 +19,7 @@ discovery: |
|
|
tlsBootstrapToken: {{ kubeadm_token }} |
|
|
tlsBootstrapToken: {{ kubeadm_token }} |
|
|
caCertPath: {{ kube_cert_dir }}/ca.crt |
|
|
caCertPath: {{ kube_cert_dir }}/ca.crt |
|
|
nodeRegistration: |
|
|
nodeRegistration: |
|
|
name: {{ kube_override_hostname }} |
|
|
|
|
|
|
|
|
name: '{{ kube_override_hostname }}' |
|
|
criSocket: {{ cri_socket }} |
|
|
criSocket: {{ cri_socket }} |
|
|
{% if 'calico_rr' in group_names and 'kube_node' not in group_names %} |
|
|
{% if 'calico_rr' in group_names and 'kube_node' not in group_names %} |
|
|
taints: |
|
|
taints: |
|
|