fix apiserver manifest when disabling insecure_port

This commit is contained in:
Nedim Haveric 2018-02-22 14:00:32 +01:00
parent 42a0f46268
commit 2bd3776ddb

View file

@ -123,7 +123,7 @@ spec:
httpGet: httpGet:
host: 127.0.0.1 host: 127.0.0.1
path: /healthz path: /healthz
{% if kube_apiserver_insecure_port == 0 %} {% if kube_apiserver_insecure_port|int == 0 %}
port: {{ kube_apiserver_port }} port: {{ kube_apiserver_port }}
scheme: HTTPS scheme: HTTPS
{% else %} {% else %}