kube-apiserver: add block for custom settings and option to remove insecure port

This commit is contained in:
Boris Zanetti 2017-02-20 16:12:32 +01:00 committed by nhaveric
parent 76c92aaa17
commit 29d32e4125

View file

@ -60,8 +60,15 @@ spec:
{% endif %}
{% endif %}
- --secure-port={{ kube_apiserver_port }}
- --insecure-port={{ kube_apiserver_insecure_port }}
- --storage-backend={{ kube_apiserver_storage_backend }}
{% if kube_api_insecure %}
- --insecure-port={{ kube_apiserver_insecure_port }}
{% endif %}
{% if kube_api_custum_config is defined %}
{% for conf in kube_api_custom_config %}
- {{ conf }}
{% endfor %}
{% endif %}
{% if kube_api_runtime_config is defined %}
{% for conf in kube_api_runtime_config %}
- --runtime-config={{ conf }}