only sets nodeName in kubeadm-config when kube_override_hostname is set
parent
95e2bde15b
commit
9fa995ac9d
|
@ -83,5 +83,7 @@ apiServerCertSANs:
|
|||
{% endfor %}
|
||||
certificatesDir: {{ kube_config_dir }}/ssl
|
||||
unifiedControlPlaneImage: "{{ hyperkube_image_repo }}:{{ hyperkube_image_tag }}"
|
||||
{% if kube_override_hostname|default('') %}
|
||||
nodeName: {{ inventory_hostname }}
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue