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