You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

81 lines
3.7 KiB

  1. [Global]
  2. auth-url="{{ external_openstack_auth_url }}"
  3. {% if external_openstack_application_credential_id is not defined and external_openstack_application_credential_name is not defined %}
  4. username="{{ external_openstack_username }}"
  5. password="{{ external_openstack_password }}"
  6. {% endif %}
  7. {% if external_openstack_application_credential_id is defined and external_openstack_application_credential_id != "" %}
  8. application-credential-id={{ external_openstack_application_credential_id }}
  9. {% endif %}
  10. {% if external_openstack_application_credential_name is defined and external_openstack_application_credential_name != "" %}
  11. application-credential-name={{ external_openstack_application_credential_name }}
  12. {% endif %}
  13. {% if external_openstack_application_credential_secret is defined and external_openstack_application_credential_secret != "" %}
  14. application-credential-secret={{ external_openstack_application_credential_secret }}
  15. {% endif %}
  16. region="{{ external_openstack_region }}"
  17. {% if external_openstack_tenant_id is defined and external_openstack_tenant_id != "" %}
  18. tenant-id="{{ external_openstack_tenant_id }}"
  19. {% endif %}
  20. {% if external_openstack_tenant_name is defined and external_openstack_tenant_name != "" %}
  21. tenant-name="{{ external_openstack_tenant_name }}"
  22. {% endif %}
  23. {% if external_openstack_domain_name is defined and external_openstack_domain_name != "" %}
  24. domain-name="{{ external_openstack_domain_name }}"
  25. {% elif external_openstack_domain_id is defined and external_openstack_domain_id != "" %}
  26. domain-id ="{{ external_openstack_domain_id }}"
  27. {% endif %}
  28. {% if external_openstack_cacert is defined and external_openstack_cacert != "" %}
  29. ca-file="{{ kube_config_dir }}/external-openstack-cacert.pem"
  30. {% endif %}
  31. [LoadBalancer]
  32. create-monitor={{ external_openstack_lbaas_create_monitor }}
  33. monitor-delay={{ external_openstack_lbaas_monitor_delay }}
  34. monitor-timeout={{ external_openstack_lbaas_monitor_timeout }}
  35. monitor-max-retries={{ external_openstack_lbaas_monitor_max_retries }}
  36. {% if external_openstack_lbaas_method is defined %}
  37. lb-method={{ external_openstack_lbaas_method }}
  38. {% endif %}
  39. {% if external_openstack_lbaas_network_id is defined %}
  40. network-id={{ external_openstack_lbaas_network_id }}
  41. {% endif %}
  42. {% if external_openstack_lbaas_subnet_id is defined %}
  43. subnet-id={{ external_openstack_lbaas_subnet_id }}
  44. {% endif %}
  45. {% if external_openstack_lbaas_floating_network_id is defined %}
  46. floating-network-id={{ external_openstack_lbaas_floating_network_id }}
  47. {% endif %}
  48. {% if external_openstack_lbaas_floating_subnet_id is defined %}
  49. floating-subnet-id={{ external_openstack_lbaas_floating_subnet_id }}
  50. {% endif %}
  51. {% if external_openstack_lbaas_manage_security_groups is defined %}
  52. manage-security-groups={{ external_openstack_lbaas_manage_security_groups }}
  53. {% endif %}
  54. {% if external_openstack_lbaas_internal_lb is defined %}
  55. internal-lb={{ external_openstack_lbaas_internal_lb }}
  56. {% endif %}
  57. {% if external_openstack_lbaas_provider is defined %}
  58. lb-provider={{ external_openstack_lbaas_provider }}
  59. use-octavia={{ external_openstack_lbaas_use_octavia }}
  60. {% else %}
  61. lb-provider=octavia
  62. use-octavia=true
  63. {% endif %}
  64. {% if external_openstack_enable_ingress_hostname is defined %}
  65. enable-ingress-hostname={{ external_openstack_enable_ingress_hostname | bool }}
  66. {% endif %}
  67. [Networking]
  68. ipv6-support-disabled={{ external_openstack_network_ipv6_disabled | string | lower }}
  69. {% for network_name in external_openstack_network_internal_networks %}
  70. internal-network-name="{{ network_name }}"
  71. {% endfor %}
  72. {% for network_name in external_openstack_network_public_networks %}
  73. public-network-name="{{ network_name }}"
  74. {% endfor %}
  75. [Metadata]
  76. {% if external_openstack_metadata_search_order is defined %}
  77. search-order="{{ external_openstack_metadata_search_order }}"
  78. {% endif %}