2019-11-01 07:59:24 +00:00
|
|
|
[Global]
|
|
|
|
auth-url="{{ cinder_auth_url }}"
|
2021-09-09 17:04:11 +00:00
|
|
|
{% if cinder_application_credential_id|length == 0 and cinder_application_credential_name|length == 0 %}
|
2019-11-01 07:59:24 +00:00
|
|
|
username="{{ cinder_username }}"
|
|
|
|
password="{{ cinder_password }}"
|
2021-07-15 07:56:48 +00:00
|
|
|
{% endif %}
|
2021-09-09 17:04:11 +00:00
|
|
|
{% if cinder_application_credential_id|length > 0 %}
|
2021-07-15 07:56:48 +00:00
|
|
|
application-credential-id={{ cinder_application_credential_id }}
|
|
|
|
{% endif %}
|
2021-09-09 17:04:11 +00:00
|
|
|
{% if cinder_application_credential_name|length > 0 %}
|
2021-07-15 07:56:48 +00:00
|
|
|
application-credential-name={{ cinder_application_credential_name }}
|
|
|
|
{% endif %}
|
2021-09-09 17:04:11 +00:00
|
|
|
{% if cinder_application_credential_secret|length > 0 %}
|
2021-07-15 07:56:48 +00:00
|
|
|
application-credential-secret={{ cinder_application_credential_secret }}
|
|
|
|
{% endif %}
|
2019-11-01 07:59:24 +00:00
|
|
|
region="{{ cinder_region }}"
|
2021-09-09 17:04:11 +00:00
|
|
|
{% if cinder_tenant_id|length > 0 %}
|
2019-11-01 07:59:24 +00:00
|
|
|
tenant-id="{{ cinder_tenant_id }}"
|
|
|
|
{% endif %}
|
2021-09-09 17:04:11 +00:00
|
|
|
{% if cinder_tenant_name|length > 0 %}
|
2019-11-01 07:59:24 +00:00
|
|
|
tenant-name="{{ cinder_tenant_name }}"
|
|
|
|
{% endif %}
|
2021-09-09 17:04:11 +00:00
|
|
|
{% if cinder_domain_name|length > 0 %}
|
2019-11-01 07:59:24 +00:00
|
|
|
domain-name="{{ cinder_domain_name }}"
|
2021-09-09 17:04:11 +00:00
|
|
|
{% elif cinder_domain_id|length > 0 %}
|
2019-11-01 07:59:24 +00:00
|
|
|
domain-id ="{{ cinder_domain_id }}"
|
|
|
|
{% endif %}
|
2021-09-09 17:04:11 +00:00
|
|
|
{% if cinder_cacert|length > 0 %}
|
2019-11-01 07:59:24 +00:00
|
|
|
ca-file="{{ kube_config_dir }}/cinder-cacert.pem"
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
[BlockStorage]
|
|
|
|
{% if cinder_blockstorage_version is defined %}
|
|
|
|
bs-version={{ cinder_blockstorage_version }}
|
|
|
|
{% endif %}
|
2021-06-01 14:10:27 +00:00
|
|
|
{% if cinder_csi_ignore_volume_az is defined %}
|
|
|
|
ignore-volume-az={{ cinder_csi_ignore_volume_az | bool }}
|
|
|
|
{% endif %}
|
2020-03-02 11:30:43 +00:00
|
|
|
{% if node_volume_attach_limit is defined and node_volume_attach_limit != "" %}
|
|
|
|
node-volume-attach-limit="{{ node_volume_attach_limit }}"
|
2021-06-01 14:10:27 +00:00
|
|
|
{% endif %}
|