mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
Add application credentials support for cinder (#7799)
* csi-driver: Added possibility to use application credentials for cinder * external-cloud-controller: Added env vars for openstack application credentials
This commit is contained in:
@@ -1,7 +1,18 @@
|
||||
[Global]
|
||||
auth-url="{{ cinder_auth_url }}"
|
||||
{% if cinder_application_credential_id is not defined and cinder_application_credential_name is not defined %}
|
||||
username="{{ cinder_username }}"
|
||||
password="{{ cinder_password }}"
|
||||
{% endif %}
|
||||
{% if cinder_application_credential_id is defined and cinder_application_credential_id != "" %}
|
||||
application-credential-id={{ cinder_application_credential_id }}
|
||||
{% endif %}
|
||||
{% if cinder_application_credential_name is defined and cinder_application_credential_name != "" %}
|
||||
application-credential-name={{ cinder_application_credential_name }}
|
||||
{% endif %}
|
||||
{% if cinder_application_credential_secret is defined and cinder_application_credential_secret != "" %}
|
||||
application-credential-secret={{ cinder_application_credential_secret }}
|
||||
{% endif %}
|
||||
region="{{ cinder_region }}"
|
||||
{% if cinder_tenant_id is defined and cinder_tenant_id != "" %}
|
||||
tenant-id="{{ cinder_tenant_id }}"
|
||||
|
||||
Reference in New Issue
Block a user