FIX: we don't need https for localhost connection
This commit is contained in:
parent
d1b0b12d91
commit
e49600606f
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
|||
- set_fact:
|
||||
kube_apiserver_endpoint: |-
|
||||
{% if not is_kube_master and loadbalancer_apiserver_localhost|default(true) -%}
|
||||
https://localhost:{{ nginx_kube_apiserver_port|default(kube_apiserver_port) }}
|
||||
http://localhost:{{ nginx_kube_apiserver_port|default(kube_apiserver_port) }}
|
||||
{%- elif is_kube_master -%}
|
||||
http://127.0.0.1:{{ kube_apiserver_insecure_port }}
|
||||
{%- else -%}
|
||||
|
|
Loading…
Reference in a new issue