Fix broken Octavia integration in OpenStack External Cloud Provider (#6046)

This commit is contained in:
qvicksilver 2020-04-29 20:30:25 +02:00 committed by GitHub
parent e4c820c35e
commit e41766fd58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ ca-file="{{ kube_config_dir }}/external-openstack-cacert.pem"
{% endif %} {% endif %}
[LoadBalancer] [LoadBalancer]
use-octavia={{ external_openstack_lbaas_use_octavia }} use-octavia={{ external_openstack_lbaas_use_octavia | string | lower }}
create-monitor={{ external_openstack_lbaas_create_monitor }} create-monitor={{ external_openstack_lbaas_create_monitor }}
monitor-delay={{ external_openstack_lbaas_monitor_delay }} monitor-delay={{ external_openstack_lbaas_monitor_delay }}
monitor-timeout={{ external_openstack_lbaas_monitor_timeout }} monitor-timeout={{ external_openstack_lbaas_monitor_timeout }}
@ -45,3 +45,6 @@ manage-security-groups={{ external_openstack_lbaas_manage_security_groups }}
{% if external_openstack_lbaas_internal_lb is defined %} {% if external_openstack_lbaas_internal_lb is defined %}
internal-lb={{ external_openstack_lbaas_internal_lb }} internal-lb={{ external_openstack_lbaas_internal_lb }}
{% endif %} {% endif %}
{% if external_openstack_lbaas_use_octavia is defined and external_openstack_lbaas_use_octavia %}
lb-provider=octavia
{% endif %}