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 %}
[LoadBalancer]
use-octavia={{ external_openstack_lbaas_use_octavia }}
use-octavia={{ external_openstack_lbaas_use_octavia | string | lower }}
create-monitor={{ external_openstack_lbaas_create_monitor }}
monitor-delay={{ external_openstack_lbaas_monitor_delay }}
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 %}
internal-lb={{ external_openstack_lbaas_internal_lb }}
{% endif %}
{% if external_openstack_lbaas_use_octavia is defined and external_openstack_lbaas_use_octavia %}
lb-provider=octavia
{% endif %}