|
@@ -1,16 +1,16 @@
|
|
|
[Global]
|
|
|
-auth-url = {{ openshift.cloudprovider.openstack.auth_url }}
|
|
|
-username = {{ openshift.cloudprovider.openstack.username }}
|
|
|
-password = {{ openshift.cloudprovider.openstack.password }}
|
|
|
-{% if 'tenant_id' in openshift.cloudprovider.openstack %}
|
|
|
-tenant-id = {{ openshift.cloudprovider.openstack.tenant_id }}
|
|
|
+auth-url = {{ openshift_cloudprovider_openstack_auth_url }}
|
|
|
+username = {{ openshift_cloudprovider_openstack_username }}
|
|
|
+password = {{ openshift_cloudprovider_openstack_password }}
|
|
|
+{% if openshift_cloudprovider_openstack_tenant_id is defined %}
|
|
|
+tenant-id = {{ openshift_cloudprovider_openstack_tenant_id }}
|
|
|
{% else %}
|
|
|
-tenant-name = {{ openshift.cloudprovider.openstack.tenant_name }}
|
|
|
+tenant-name = {{ openshift_cloudprovider_openstack_tenant_name }}
|
|
|
{% endif %}
|
|
|
-{% if 'region' in openshift.cloudprovider.openstack %}
|
|
|
-region = {{ openshift.cloudprovider.openstack.region }}
|
|
|
+{% if openshift_cloudprovider_openstack_region is defined %}
|
|
|
+region = {{ openshift_cloudprovider_openstack_region }}
|
|
|
{% endif %}
|
|
|
-{% if 'lb_subnet_id' in openshift.cloudprovider.openstack %}
|
|
|
+{% if 'lb_subnet_id' in openshift_cloudprovider_openstack %}
|
|
|
[LoadBalancer]
|
|
|
-subnet-id = {{ openshift.cloudprovider.openstack.lb_subnet_id }}
|
|
|
+subnet-id = {{ openshift_cloudprovider_openstack_lb_subnet_id }}
|
|
|
{% endif %}
|