Merge pull request #2369 from eviln1/fix-insecure-apiserver-port

fix apiserver manifest when disabling insecure_port
This commit is contained in:
Chad Swenson 2018-02-28 17:48:08 -06:00 committed by GitHub
commit af7edf4dff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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