Merge pull request #2350 from whereismyjetpack/kubeadm-nodename

set nodeName to "{{ inventory_hostname }}" in kubeadm-config
pull/2546/merge
Andreas Krüger 2018-03-30 11:15:52 +02:00 committed by GitHub
commit f619eb08b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -90,3 +90,7 @@ apiServerCertSANs:
{% endfor %}
certificatesDir: {{ kube_config_dir }}/ssl
unifiedControlPlaneImage: "{{ hyperkube_image_repo }}:{{ hyperkube_image_tag }}"
{% if kube_override_hostname|default('') %}
nodeName: {{ kube_override_hostname }}
{% endif %}