kube-apiserver: add block for custom settings and option to remove insecure port
This commit is contained in:
parent
76c92aaa17
commit
29d32e4125
1 changed files with 8 additions and 1 deletions
|
@ -60,8 +60,15 @@ spec:
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
- --secure-port={{ kube_apiserver_port }}
|
- --secure-port={{ kube_apiserver_port }}
|
||||||
- --insecure-port={{ kube_apiserver_insecure_port }}
|
|
||||||
- --storage-backend={{ kube_apiserver_storage_backend }}
|
- --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 %}
|
{% if kube_api_runtime_config is defined %}
|
||||||
{% for conf in kube_api_runtime_config %}
|
{% for conf in kube_api_runtime_config %}
|
||||||
- --runtime-config={{ conf }}
|
- --runtime-config={{ conf }}
|
||||||
|
|
Loading…
Reference in a new issue