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
parent
commit
fc57c0b27e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes/kubeadm/templates/kubeadm-client.conf.v1beta3.j2

2
roles/kubernetes/kubeadm/templates/kubeadm-client.conf.v1beta3.j2

@ -19,7 +19,7 @@ discovery:
tlsBootstrapToken: {{ kubeadm_token }}
caCertPath: {{ kube_cert_dir }}/ca.crt
nodeRegistration:
name: {{ kube_override_hostname }}
name: '{{ kube_override_hostname }}'
criSocket: {{ cri_socket }}
{% if 'calico_rr' in group_names and 'kube_node' not in group_names %}
taints:

Loading…
Cancel
Save