FIX: we don't need https for localhost connection

This commit is contained in:
Anton Nerozya 2017-07-26 15:17:51 +02:00
parent d1b0b12d91
commit e49600606f

View file

@ -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 -%}