Browse Source

fix apiserver manifest when disabling insecure_port

pull/2369/head
Nedim Haveric 7 years ago
parent
commit
2bd3776ddb
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2

2
roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2

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

Loading…
Cancel
Save