Merge "Honour use-internal-endpoints"

This commit is contained in:
Zuul 2020-09-15 16:37:34 +00:00 committed by Gerrit Code Review
commit 4f975044c1
1 changed files with 4 additions and 0 deletions

View File

@ -2,7 +2,11 @@
debug = {{ options.debug }}
host = {{ options.hostname }}
[api]
{% if options.use_internal_endpoints == True -%}
api_interface = internal
{% else %}
api_interface = public
{% endif -%}
auth_url = {{ identity_credentials.auth_protocol }}://{{ identity_credentials.auth_host }}:{{ identity_credentials.auth_port }}
project_domain_name = {{ identity_credentials.credentials_project_domain_name }}
user_domain_name = {{ identity_credentials.credentials_user_domain_name }}