Browse Source
Check if openstack application credentials are empty since they always exists (#8021) (#8038)
Co-authored-by: Hugo Blom <bl0m1@users.noreply.github.com>
pull/8042/head
Kenichi Omichi
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
roles/kubernetes-apps/external_cloud_controller/openstack/templates/external-openstack-cloud-config.j2
|
@ -1,6 +1,6 @@ |
|
|
[Global] |
|
|
[Global] |
|
|
auth-url="{{ external_openstack_auth_url }}" |
|
|
auth-url="{{ external_openstack_auth_url }}" |
|
|
{% if external_openstack_application_credential_id is not defined and external_openstack_application_credential_name is not defined %} |
|
|
|
|
|
|
|
|
{% if external_openstack_application_credential_id == "" and external_openstack_application_credential_name == "" %} |
|
|
username="{{ external_openstack_username }}" |
|
|
username="{{ external_openstack_username }}" |
|
|
password="{{ external_openstack_password }}" |
|
|
password="{{ external_openstack_password }}" |
|
|
{% endif %} |
|
|
{% endif %} |
|
|