Browse Source

disable cloud-routes for non-cloud plugin (#4443)

pull/4496/head
Qasim Sarfraz 5 years ago
committed by Kubernetes Prow Robot
parent
commit
3af90f8772
1 changed files with 3 additions and 0 deletions
  1. 3
      roles/kubernetes/master/templates/kubeadm-config.v1beta1.yaml.j2

3
roles/kubernetes/master/templates/kubeadm-config.v1beta1.yaml.j2

@ -203,6 +203,9 @@ controllerManager:
{% elif cloud_provider is defined and cloud_provider in ["external"] %}
cloud-config: {{ kube_config_dir }}/cloud_config
{% endif %}
{% if kube_network_plugin is defined and kube_network_plugin not in ["cloud"] %}
configure-cloud-routes: "false"
{% endif %}
{% if cloud_provider is defined and cloud_provider in ["openstack", "azure", "vsphere", "aws", "external"] or controller_manager_extra_volumes %}
extraVolumes:
{% if cloud_provider is defined and cloud_provider in ["openstack"] and openstack_cacert is defined %}

Loading…
Cancel
Save