Add configurable endpoint type for heatclient
Default value for endpoint_type for all clients is internalUrl, which makes all management requests hidden from outside world. However there are some case when we need to expose some requests and use publicURL endpoint for heatclient. This patch add ability to pass such option in Heat service config. Change-Id: I2b2b5375f0db7c33bbf45ddb202045edde2aad3a
This commit is contained in:
parent
2cfef3bc3a
commit
f87a1c41ff
@ -20,6 +20,8 @@ configs:
|
|||||||
# it is strongly recommended don't change this value
|
# it is strongly recommended don't change this value
|
||||||
user: heat_domain_admin
|
user: heat_domain_admin
|
||||||
|
|
||||||
|
heat_endpoint_type: internalURL
|
||||||
|
|
||||||
debug: false
|
debug: false
|
||||||
|
|
||||||
sources:
|
sources:
|
||||||
|
@ -47,6 +47,9 @@ auth_type = password
|
|||||||
[clients_keystone]
|
[clients_keystone]
|
||||||
auth_uri = {{ address('keystone', keystone.public_port, with_scheme=True) }}
|
auth_uri = {{ address('keystone', keystone.public_port, with_scheme=True) }}
|
||||||
|
|
||||||
|
[clients_heat]
|
||||||
|
endpoint_type = {{ heat.heat_endpoint_type }}
|
||||||
|
|
||||||
[heat_api]
|
[heat_api]
|
||||||
bind_host = {{ network_topology["private"]["address"] }}
|
bind_host = {{ network_topology["private"]["address"] }}
|
||||||
bind_port = {{ heat.api_port.cont }}
|
bind_port = {{ heat.api_port.cont }}
|
||||||
|
Loading…
Reference in New Issue
Block a user