|
|
@ -89,16 +89,19 @@ apiServerExtraArgs: |
|
|
|
audit-log-maxsize: "{{ audit_log_maxsize }}" |
|
|
|
audit-policy-file: {{ audit_policy_file }} |
|
|
|
{% endif %} |
|
|
|
{% if kube_feature_gates %} |
|
|
|
feature-gates: {{ kube_feature_gates|join(',') }} |
|
|
|
{% endif %} |
|
|
|
{% for key in kube_kubeadm_apiserver_extra_args %} |
|
|
|
{{ key }}: "{{ kube_kubeadm_apiserver_extra_args[key] }}" |
|
|
|
{% endfor %} |
|
|
|
{% if kube_feature_gates %} |
|
|
|
feature-gates: {{ kube_feature_gates|join(',') }} |
|
|
|
{% endif %} |
|
|
|
controllerManagerExtraArgs: |
|
|
|
node-monitor-grace-period: {{ kube_controller_node_monitor_grace_period }} |
|
|
|
node-monitor-period: {{ kube_controller_node_monitor_period }} |
|
|
|
pod-eviction-timeout: {{ kube_controller_pod_eviction_timeout }} |
|
|
|
{% if kube_feature_gates %} |
|
|
|
feature-gates: {{ kube_feature_gates|join(',') }} |
|
|
|
{% endif %} |
|
|
|
{% if cloud_provider is defined and cloud_provider in ["openstack"] and openstack_cacert is defined %} |
|
|
|
controllerManagerExtraVolumes: |
|
|
|
- name: openstackcacert |
|
|
@ -120,8 +123,11 @@ apiServerExtraVolumes: |
|
|
|
{% for key in kube_kubeadm_controller_extra_args %} |
|
|
|
{{ key }}: "{{ kube_kubeadm_controller_extra_args[key] }}" |
|
|
|
{% endfor %} |
|
|
|
{% if kube_kubeadm_scheduler_extra_args|length > 0 %} |
|
|
|
schedulerExtraArgs: |
|
|
|
{% if kube_feature_gates %} |
|
|
|
feature-gates: {{ kube_feature_gates|join(',') }} |
|
|
|
{% endif %} |
|
|
|
{% if kube_kubeadm_scheduler_extra_args|length > 0 %} |
|
|
|
{% for key in kube_kubeadm_scheduler_extra_args %} |
|
|
|
{{ key }}: "{{ kube_kubeadm_scheduler_extra_args[key] }}" |
|
|
|
{% endfor %} |
|
|
|