add minimal keepalived-cloud-provider support

This commit is contained in:
Bob Killen
2017-11-23 08:43:36 -05:00
parent bc1a4e12ad
commit 2140303fcc
3 changed files with 4 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ spec:
{% if cloud_provider is defined and cloud_provider in ["openstack", "azure", "vsphere"] %}
- --cloud-provider={{cloud_provider}}
- --cloud-config={{ kube_config_dir }}/cloud_config
{% elif cloud_provider is defined and cloud_provider == "aws" %}
{% elif cloud_provider is defined and cloud_provider in ["aws", "external"] %}
- --cloud-provider={{cloud_provider}}
{% endif %}
{% if kube_network_plugin is defined and kube_network_plugin == 'cloud' %}