Skip to content
Snippets Groups Projects
Commit 3af90f87 authored by Qasim Sarfraz's avatar Qasim Sarfraz Committed by Kubernetes Prow Robot
Browse files

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

parent cb54d074
No related branches found
No related tags found
No related merge requests found
......@@ -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 %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment