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.

41 lines
1.7 KiB

  1. [Global]
  2. auth-url="{{ cinder_auth_url }}"
  3. {% if cinder_application_credential_id is not defined and cinder_application_credential_name is not defined %}
  4. username="{{ cinder_username }}"
  5. password="{{ cinder_password }}"
  6. {% endif %}
  7. {% if cinder_application_credential_id is defined and cinder_application_credential_id != "" %}
  8. application-credential-id={{ cinder_application_credential_id }}
  9. {% endif %}
  10. {% if cinder_application_credential_name is defined and cinder_application_credential_name != "" %}
  11. application-credential-name={{ cinder_application_credential_name }}
  12. {% endif %}
  13. {% if cinder_application_credential_secret is defined and cinder_application_credential_secret != "" %}
  14. application-credential-secret={{ cinder_application_credential_secret }}
  15. {% endif %}
  16. region="{{ cinder_region }}"
  17. {% if cinder_tenant_id is defined and cinder_tenant_id != "" %}
  18. tenant-id="{{ cinder_tenant_id }}"
  19. {% endif %}
  20. {% if cinder_tenant_name is defined and cinder_tenant_name != "" %}
  21. tenant-name="{{ cinder_tenant_name }}"
  22. {% endif %}
  23. {% if cinder_domain_name is defined and cinder_domain_name != "" %}
  24. domain-name="{{ cinder_domain_name }}"
  25. {% elif cinder_domain_id is defined and cinder_domain_id != "" %}
  26. domain-id ="{{ cinder_domain_id }}"
  27. {% endif %}
  28. {% if cinder_cacert is defined and cinder_cacert != "" %}
  29. ca-file="{{ kube_config_dir }}/cinder-cacert.pem"
  30. {% endif %}
  31. [BlockStorage]
  32. {% if cinder_blockstorage_version is defined %}
  33. bs-version={{ cinder_blockstorage_version }}
  34. {% endif %}
  35. {% if cinder_csi_ignore_volume_az is defined %}
  36. ignore-volume-az={{ cinder_csi_ignore_volume_az | bool }}
  37. {% endif %}
  38. {% if node_volume_attach_limit is defined and node_volume_attach_limit != "" %}
  39. node-volume-attach-limit="{{ node_volume_attach_limit }}"
  40. {% endif %}