Browse Source

Fix kubeadm_controller_extra_args (#3778)

pull/3780/head
Chad Swenson 6 years ago
committed by k8s-ci-robot
parent
commit
b59d5c35bc
1 changed files with 3 additions and 3 deletions
  1. 6
      roles/kubernetes/master/templates/kubeadm-config.v1alpha3.yaml.j2

6
roles/kubernetes/master/templates/kubeadm-config.v1alpha3.yaml.j2

@ -129,6 +129,9 @@ controllerManagerExtraArgs:
{% if kube_feature_gates %}
feature-gates: {{ kube_feature_gates|join(',') }}
{% endif %}
{% for key in kube_kubeadm_controller_extra_args %}
{{ key }}: "{{ kube_kubeadm_controller_extra_args[key] }}"
{% endfor %}
{% if cloud_provider is defined and cloud_provider in ["openstack", "azure", "vsphere", "aws"] %}
cloud-provider: {{cloud_provider}}
cloud-config: {{ kube_config_dir }}/cloud_config
@ -173,9 +176,6 @@ apiServerExtraVolumes:
{% endif %}
{% endif %}
{% endif %}
{% for key in kube_kubeadm_controller_extra_args %}
{{ key }}: "{{ kube_kubeadm_controller_extra_args[key] }}"
{% endfor %}
{% if cloud_provider is defined and cloud_provider in ["openstack", "azure", "vsphere", "aws", "external"] %}
controllerManagerExtraVolumes:
{% if cloud_provider is defined and cloud_provider in ["openstack"] and openstack_cacert is defined %}

Loading…
Cancel
Save