Improve first_kube_control_plane variable management to avoid installation failures due to variable overlapping (#8388)

This commit is contained in:
Unai Arríen
2022-01-10 10:35:19 +01:00
committed by GitHub
parent aa4a3d7afd
commit 57a1d18db3
4 changed files with 6 additions and 6 deletions

View File

@@ -13,7 +13,7 @@ data:
KUBERNETES_SERVICE_HOST: "127.0.0.1"
KUBERNETES_SERVICE_PORT: "{{ kube_apiserver_port }}"
{%- else %}
KUBERNETES_SERVICE_HOST: "{{ first_kube_control_plane }}"
KUBERNETES_SERVICE_HOST: "{{ first_kube_control_plane_address }}"
KUBERNETES_SERVICE_PORT: "{{ kube_apiserver_port }}"
{%- endif %}
{% endif %}