openstack.conf.j2 1.1 KB

12345678910111213141516171819202122232425
  1. [Global]
  2. auth-url = {{ openshift_cloudprovider_openstack_auth_url }}
  3. username = {{ openshift_cloudprovider_openstack_username }}
  4. password = {{ openshift_cloudprovider_openstack_password }}
  5. {% if openshift_cloudprovider_openstack_domain_id is defined %}
  6. domain-id = {{ openshift_cloudprovider_openstack_domain_id }}
  7. {% elif openshift_cloudprovider_openstack_domain_name is defined %}
  8. domain-name = {{ openshift_cloudprovider_openstack_domain_name }}
  9. {% endif %}
  10. {% if openshift_cloudprovider_openstack_tenant_id is defined %}
  11. tenant-id = {{ openshift_cloudprovider_openstack_tenant_id }}
  12. {% else %}
  13. tenant-name = {{ openshift_cloudprovider_openstack_tenant_name }}
  14. {% endif %}
  15. {% if openshift_cloudprovider_openstack_region is defined %}
  16. region = {{ openshift_cloudprovider_openstack_region }}
  17. {% endif %}
  18. {% if openshift_cloudprovider_openstack_lb_subnet_id is defined %}
  19. [LoadBalancer]
  20. subnet-id = {{ openshift_cloudprovider_openstack_lb_subnet_id }}
  21. {% endif %}
  22. {% if openshift_cloudprovider_openstack_blockstorage_version is defined %}
  23. [BlockStorage]
  24. bs-version={{ openshift_cloudprovider_openstack_blockstorage_version }}
  25. {% endif %}