Merge pull request #1087 from bradbeam/openstack
Adding openstack domain id
This commit is contained in:
commit
b0830f0cd7
2 changed files with 5 additions and 1 deletions
|
@ -28,6 +28,7 @@ openstack_username: "{{ lookup('env','OS_USERNAME') }}"
|
||||||
openstack_password: "{{ lookup('env','OS_PASSWORD') }}"
|
openstack_password: "{{ lookup('env','OS_PASSWORD') }}"
|
||||||
openstack_region: "{{ lookup('env','OS_REGION_NAME') }}"
|
openstack_region: "{{ lookup('env','OS_REGION_NAME') }}"
|
||||||
openstack_tenant_id: "{{ lookup('env','OS_TENANT_ID')|default(lookup('env','OS_PROJECT_ID'),true) }}"
|
openstack_tenant_id: "{{ lookup('env','OS_TENANT_ID')|default(lookup('env','OS_PROJECT_ID'),true) }}"
|
||||||
|
openstack_domain_name: "{{ lookup('env','OS_USER_DOMAIN_NAME') }}"
|
||||||
|
|
||||||
# For the vsphere integration, kubelet will need credentials to access
|
# For the vsphere integration, kubelet will need credentials to access
|
||||||
# vsphere apis
|
# vsphere apis
|
||||||
|
|
|
@ -4,3 +4,6 @@ username={{ openstack_username }}
|
||||||
password={{ openstack_password }}
|
password={{ openstack_password }}
|
||||||
region={{ openstack_region }}
|
region={{ openstack_region }}
|
||||||
tenant-id={{ openstack_tenant_id }}
|
tenant-id={{ openstack_tenant_id }}
|
||||||
|
{% if openstack_domain_name is defined and openstack_domain_name != "" %}
|
||||||
|
domain-name={{ openstack_domain_name }}
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue