Allow setting protocol for internal endpoints
This patch unhardcode protocol on internal endpoints in
keystone.client classes. It may be changed by setting
{service_name}_internal_protocol param on cluster level.
Change-Id: I37f75003f1a30aa8fb944a84f1a7fa603ca1f725
Related-Prod: PROD-17043
diff --git a/keystone/client/service/nova-placement.yml b/keystone/client/service/nova-placement.yml
index 61b5455..3ed0654 100644
--- a/keystone/client/service/nova-placement.yml
+++ b/keystone/client/service/nova-placement.yml
@@ -1,6 +1,7 @@
parameters:
_param:
cluster_public_protocol: https
+ nova_service_protocol: http
keystone:
client:
server:
@@ -18,6 +19,8 @@
internal_address: ${_param:nova_service_host}
internal_port: '8778'
internal_path: ''
+ internal_protocol: ${_param:nova_service_protocol}
+ admin_protocol: ${_param:nova_service_protocol}
admin_address: ${_param:nova_service_host}
admin_port: '8778'
admin_path: ''