fix apiserver manifest when disabling insecure_port
This commit is contained in:
parent
42a0f46268
commit
2bd3776ddb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue