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 2022-09-13 15:09:05 +08:00 committed by GitHub
parent dd4bc5fbfe
commit fc57c0b27e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: