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.

92 lines
4.2 KiB

  1. [Global]
  2. auth-url="{{ external_openstack_auth_url }}"
  3. {% if external_openstack_application_credential_id == "" and external_openstack_application_credential_name == "" %}
  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. enabled={{ external_openstack_lbaas_enabled | string | lower }}
  33. {% if external_openstack_lbaas_floating_network_id is defined %}
  34. floating-network-id={{ external_openstack_lbaas_floating_network_id }}
  35. {% endif %}
  36. {% if external_openstack_lbaas_floating_subnet_id is defined %}
  37. floating-subnet-id={{ external_openstack_lbaas_floating_subnet_id }}
  38. {% endif %}
  39. {% if external_openstack_lbaas_method is defined %}
  40. lb-method={{ external_openstack_lbaas_method }}
  41. {% endif %}
  42. {% if external_openstack_lbaas_provider is defined %}
  43. lb-provider={{ external_openstack_lbaas_provider }}
  44. {% endif %}
  45. {% if external_openstack_lbaas_subnet_id is defined %}
  46. subnet-id={{ external_openstack_lbaas_subnet_id }}
  47. {% endif %}
  48. {% if external_openstack_lbaas_network_id is defined %}
  49. network-id={{ external_openstack_lbaas_network_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_create_monitor is defined %}
  55. create-monitor={{ external_openstack_lbaas_create_monitor }}
  56. {% endif %}
  57. {% if external_openstack_lbaas_monitor_delay is defined %}
  58. monitor-delay={{ external_openstack_lbaas_monitor_delay }}
  59. {% endif %}
  60. {% if external_openstack_lbaas_monitor_max_retries is defined %}
  61. monitor-max-retries={{ external_openstack_lbaas_monitor_max_retries }}
  62. {% endif %}
  63. {% if external_openstack_lbaas_monitor_timeout is defined %}
  64. monitor-timeout={{ external_openstack_lbaas_monitor_timeout }}
  65. {% endif %}
  66. {% if external_openstack_lbaas_internal_lb is defined %}
  67. internal-lb={{ external_openstack_lbaas_internal_lb }}
  68. {% endif %}
  69. {% if external_openstack_enable_ingress_hostname is defined %}
  70. enable-ingress-hostname={{ external_openstack_enable_ingress_hostname | string | lower }}
  71. {% endif %}
  72. {% if external_openstack_ingress_hostname_suffix is defined %}
  73. ingress-hostname-suffix={{ external_openstack_ingress_hostname_suffix | string | lower }}
  74. {% endif %}
  75. {% if external_openstack_max_shared_lb is defined %}
  76. max-shared-lb={{ external_openstack_max_shared_lb }}
  77. {% endif %}
  78. [Networking]
  79. ipv6-support-disabled={{ external_openstack_network_ipv6_disabled | string | lower }}
  80. {% for network_name in external_openstack_network_internal_networks %}
  81. internal-network-name="{{ network_name }}"
  82. {% endfor %}
  83. {% for network_name in external_openstack_network_public_networks %}
  84. public-network-name="{{ network_name }}"
  85. {% endfor %}
  86. [Metadata]
  87. {% if external_openstack_metadata_search_order is defined %}
  88. search-order="{{ external_openstack_metadata_search_order }}"
  89. {% endif %}