From 2bd3776ddb15c01adea6c35b1da535ae3c15338c Mon Sep 17 00:00:00 2001 From: Nedim Haveric Date: Thu, 22 Feb 2018 14:00:32 +0100 Subject: [PATCH] fix apiserver manifest when disabling insecure_port --- .../master/templates/manifests/kube-apiserver.manifest.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 b/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 index a6f76c6d6..2ec231f4c 100644 --- a/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 +++ b/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 @@ -123,7 +123,7 @@ spec: httpGet: host: 127.0.0.1 path: /healthz -{% if kube_apiserver_insecure_port == 0 %} +{% if kube_apiserver_insecure_port|int == 0 %} port: {{ kube_apiserver_port }} scheme: HTTPS {% else %}