mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-09 23:12:10 -03:30
kubernetes/client: kubeconfig template should use the access_ip for the chosen master node
This commit is contained in:
parent
f912a4ece5
commit
2f5a9e180c
@ -5,7 +5,7 @@
|
||||
{%- if loadbalancer_apiserver is defined and loadbalancer_apiserver.port is defined -%}
|
||||
https://{{ apiserver_loadbalancer_domain_name }}:{{ loadbalancer_apiserver.port|default(kube_apiserver_port) }}
|
||||
{%- else -%}
|
||||
https://{{ kube_apiserver_address }}:{{ kube_apiserver_port }}
|
||||
https://{{ kube_apiserver_access_address }}:{{ kube_apiserver_port }}
|
||||
{%- endif -%}
|
||||
tags:
|
||||
- facts
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user