add ability for custom flags

This commit is contained in:
Spencer Smith
2017-04-14 17:33:04 -04:00
parent d6cbdbd6aa
commit 94596388f7
7 changed files with 34 additions and 1 deletions

View File

@@ -81,6 +81,9 @@ spec:
{% if kube_api_anonymous_auth is defined and kube_version | version_compare('v1.5', '>=') %}
- --anonymous-auth={{ kube_api_anonymous_auth }}
{% endif %}
{% for flag in apiserver_custom_flags %}
- {{ flag }}
{% endfor %}
livenessProbe:
httpGet:
host: 127.0.0.1

View File

@@ -46,6 +46,9 @@ spec:
- --configure-cloud-routes=true
- --cluster-cidr={{ kube_pods_subnet }}
{% endif %}
{% for flag in controller_mgr_custom_flags %}
- {{ flag }}
{% endfor %}
livenessProbe:
httpGet:
host: 127.0.0.1

View File

@@ -27,6 +27,9 @@ spec:
- --leader-elect=true
- --master={{ kube_apiserver_endpoint }}
- --v={{ kube_log_level }}
{% for flag in scheduler_custom_flags %}
- {{ flag }}
{% endfor %}
livenessProbe:
httpGet:
host: 127.0.0.1