Browse Source
Fix broken Octavia integration in OpenStack External Cloud Provider (#6046)
pull/6048/head
qvicksilver
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
1 deletions
-
roles/kubernetes-apps/external_cloud_controller/openstack/templates/external-openstack-cloud-config.j2
|
@ -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 %} |